org.sdmx.resources.sdmxml.schemas.v2_1.structure
Class AttributeType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
          extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.ComponentBaseType
              extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.ComponentType
                  extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.AttributeBaseType
                      extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.AttributeType
Direct Known Subclasses:
ReportingYearStartDayType

public class AttributeType
extends AttributeBaseType

AttributeType describes the structure of a data attribute, which is defined as a characteristic of an object or entity. The attribute takes its semantic, and in some cases it representation, from its concept identity. An attribute can be coded by referencing a code list from its coded local representation. It can also specify its text format, which is used as the representation of the attribute if a coded representation is not defined. Neither the coded or uncoded representation are necessary, since the attribute may take these from the referenced concept. An attribute specifies its relationship with other data structure components and is given an assignment status. These two properties dictate where in a data message the attribute will be attached, and whether or not the attribute will be required to be given a value. A set of roles defined in concept scheme can be assigned to the attribute.

Java class for AttributeType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AttributeType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}AttributeBaseType">
       <sequence>
         <element name="ConceptRole" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ConceptReferenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="AttributeRelationship" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}AttributeRelationshipType"/>
       </sequence>
       <attribute name="assignmentStatus" use="required" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}UsageStatusType" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  UsageStatusType assignmentStatus
           
protected  AttributeRelationshipType attributeRelationship
           
protected  List<ConceptReferenceType> conceptRole
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.ComponentType
conceptIdentity, localRepresentation
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
id, uri, urn
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
annotations
 
Constructor Summary
AttributeType()
           
 
Method Summary
 UsageStatusType getAssignmentStatus()
          Gets the value of the assignmentStatus property.
 AttributeRelationshipType getAttributeRelationship()
          Gets the value of the attributeRelationship property.
 List<ConceptReferenceType> getConceptRole()
          Gets the value of the conceptRole property.
 void setAssignmentStatus(UsageStatusType value)
          Sets the value of the assignmentStatus property.
 void setAttributeRelationship(AttributeRelationshipType value)
          Sets the value of the attributeRelationship property.
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.ComponentType
getConceptIdentity, getLocalRepresentation, setConceptIdentity, setLocalRepresentation
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
getId, getUri, getUrn, setId, setUri, setUrn
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
getAnnotations, setAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conceptRole

protected List<ConceptReferenceType> conceptRole

attributeRelationship

protected AttributeRelationshipType attributeRelationship

assignmentStatus

protected UsageStatusType assignmentStatus
Constructor Detail

AttributeType

public AttributeType()
Method Detail

getConceptRole

public List<ConceptReferenceType> getConceptRole()
Gets the value of the conceptRole property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the conceptRole property.

For example, to add a new item, do as follows:

    getConceptRole().add(newItem);
 

Objects of the following type(s) are allowed in the list ConceptReferenceType


getAttributeRelationship

public AttributeRelationshipType getAttributeRelationship()
Gets the value of the attributeRelationship property.

Returns:
possible object is AttributeRelationshipType

setAttributeRelationship

public void setAttributeRelationship(AttributeRelationshipType value)
Sets the value of the attributeRelationship property.

Parameters:
value - allowed object is AttributeRelationshipType

getAssignmentStatus

public UsageStatusType getAssignmentStatus()
Gets the value of the assignmentStatus property.

Returns:
possible object is UsageStatusType

setAssignmentStatus

public void setAssignmentStatus(UsageStatusType value)
Sets the value of the assignmentStatus property.

Parameters:
value - allowed object is UsageStatusType


Copyright © 2012. All Rights Reserved.