|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.ComponentBaseType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.ComponentType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.AttributeBaseType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.AttributeType
public class AttributeType
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 |
|---|
protected List<ConceptReferenceType> conceptRole
protected AttributeRelationshipType attributeRelationship
protected UsageStatusType assignmentStatus
| Constructor Detail |
|---|
public AttributeType()
| Method Detail |
|---|
public List<ConceptReferenceType> getConceptRole()
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
public AttributeRelationshipType getAttributeRelationship()
AttributeRelationshipTypepublic void setAttributeRelationship(AttributeRelationshipType value)
value - allowed object is
AttributeRelationshipTypepublic UsageStatusType getAssignmentStatus()
UsageStatusTypepublic void setAssignmentStatus(UsageStatusType value)
value - allowed object is
UsageStatusType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||