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

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.ComponentListType
Direct Known Subclasses:
AttributeListBaseType, DimensionListBaseType, GroupBaseType, MeasureListType, MetadataTargetBaseType, ReportStructureBaseType

public abstract class ComponentListType
extends IdentifiableType

ComponentListType is an abstract base type for all component lists. It contains a collection of components. Concrete types should restrict this to specific concrete components.

Java class for ComponentListType complex type.

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

 <complexType name="ComponentListType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}IdentifiableType">
       <sequence>
         <sequence maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}Component"/>
         </sequence>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<JAXBElement<? extends ComponentType>> component
           
 
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
ComponentListType()
           
 
Method Summary
 List<JAXBElement<? extends ComponentType>> getComponent()
          Gets the value of the component property.
 
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

component

protected List<JAXBElement<? extends ComponentType>> component
Constructor Detail

ComponentListType

public ComponentListType()
Method Detail

getComponent

public List<JAXBElement<? extends ComponentType>> getComponent()
Gets the value of the component 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 component property.

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

    getComponent().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<IdentifiableObjectTargetType> JAXBElement<ConstraintContentTargetType> JAXBElement<ReportPeriodTargetType> JAXBElement<MetadataAttributeType> JAXBElement<DimensionType> JAXBElement<DataSetTargetType> JAXBElement<PrimaryMeasureType> JAXBElement<AttributeType> JAXBElement<MeasureDimensionType> JAXBElement<ReportingYearStartDayType> JAXBElement<ComponentType> JAXBElement<KeyDescriptorValuesTargetType> JAXBElement<TimeDimensionType> JAXBElement<GroupDimensionType>



Copyright © 2012. All Rights Reserved.