|
||||||||||
| 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.MetadataAttributeBaseType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.MetadataAttributeType
public class MetadataAttributeType
MetadataAttributeType describes the structure of a metadata attribute. The metadata attribute takes its semantic, and in some cases it representation, from its concept identity. A metadata attribute may be coded (via the local representation), uncoded (via the text format), or take no value. In addition to this value, the metadata attribute may also specify subordinate metadata attributes. If a metadata attribute only serves the purpose of containing subordinate metadata attributes, then the isPresentational attribute should be used. Otherwise, it is assumed to also take a value. If the metadata attribute does take a value, and a representation is not defined, it will be inherited from the concept it takes its semantic from. The optional id on the metadata attribute uniquely identifies it within the metadata structured definition. If this id is not supplied, its value is assumed to be that of the concept referenced from the concept identity. Note that a metadata attribute (as identified by the id attribute) definition must be unique across the entire metadata structure definition (including target identifier, identifier component, and report structure ids). A metadata attribute may be used in multiple report structures and at different levels, but the content (value and/or child metadata attributes and their cardinality) of the metadata attribute cannot change.
Java class for MetadataAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataAttributeType">
<complexContent>
<extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}MetadataAttributeBaseType">
<sequence>
<element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}MetadataAttribute" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="minOccurs" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="1" />
<attribute name="maxOccurs" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}OccurenceType" default="1" />
<attribute name="isPresentational" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Boolean |
isPresentational
|
protected String |
maxOccurs
|
protected List<MetadataAttributeType> |
metadataAttribute
|
protected BigInteger |
minOccurs
|
| 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 | |
|---|---|
MetadataAttributeType()
|
|
| Method Summary | |
|---|---|
String |
getMaxOccurs()
Gets the value of the maxOccurs property. |
List<MetadataAttributeType> |
getMetadataAttribute()
Gets the value of the metadataAttribute property. |
BigInteger |
getMinOccurs()
Gets the value of the minOccurs property. |
boolean |
isIsPresentational()
Gets the value of the isPresentational property. |
void |
setIsPresentational(Boolean value)
Sets the value of the isPresentational property. |
void |
setMaxOccurs(String value)
Sets the value of the maxOccurs property. |
void |
setMinOccurs(BigInteger value)
Sets the value of the minOccurs 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<MetadataAttributeType> metadataAttribute
protected BigInteger minOccurs
protected String maxOccurs
protected Boolean isPresentational
| Constructor Detail |
|---|
public MetadataAttributeType()
| Method Detail |
|---|
public List<MetadataAttributeType> getMetadataAttribute()
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 metadataAttribute property.
For example, to add a new item, do as follows:
getMetadataAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataAttributeType
public BigInteger getMinOccurs()
BigIntegerpublic void setMinOccurs(BigInteger value)
value - allowed object is
BigIntegerpublic String getMaxOccurs()
Stringpublic void setMaxOccurs(String value)
value - allowed object is
Stringpublic boolean isIsPresentational()
Booleanpublic void setIsPresentational(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||