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

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.MetadataAttributeBaseType
                      extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.MetadataAttributeType

public class MetadataAttributeType
extends MetadataAttributeBaseType

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

metadataAttribute

protected List<MetadataAttributeType> metadataAttribute

minOccurs

protected BigInteger minOccurs

maxOccurs

protected String maxOccurs

isPresentational

protected Boolean isPresentational
Constructor Detail

MetadataAttributeType

public MetadataAttributeType()
Method Detail

getMetadataAttribute

public List<MetadataAttributeType> getMetadataAttribute()
Gets the value of the metadataAttribute 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 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


getMinOccurs

public BigInteger getMinOccurs()
Gets the value of the minOccurs property.

Returns:
possible object is BigInteger

setMinOccurs

public void setMinOccurs(BigInteger value)
Sets the value of the minOccurs property.

Parameters:
value - allowed object is BigInteger

getMaxOccurs

public String getMaxOccurs()
Gets the value of the maxOccurs property.

Returns:
possible object is String

setMaxOccurs

public void setMaxOccurs(String value)
Sets the value of the maxOccurs property.

Parameters:
value - allowed object is String

isIsPresentational

public boolean isIsPresentational()
Gets the value of the isPresentational property.

Returns:
possible object is Boolean

setIsPresentational

public void setIsPresentational(Boolean value)
Sets the value of the isPresentational property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.