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

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.NameableType
              extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.ItemBaseType
                  extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.ItemType
Direct Known Subclasses:
BaseOrganisationType, CategoryType, CodeType, ConceptBaseType, ReportingCategoryBaseType

public abstract class ItemType
extends ItemBaseType

ItemType is an abstract base type for all items with in an item scheme. Concrete instances of this type may or may not utilize the nested item, but if so should restrict the actual types of item allowed.

Java class for ItemType complex type.

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

 <complexType name="ItemType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}ItemBaseType">
       <choice minOccurs="0">
         <element name="Parent" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}LocalItemReferenceType"/>
         <sequence maxOccurs="unbounded">
           <element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}Item"/>
         </sequence>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<JAXBElement<? extends ItemType>> item
           
protected  LocalItemReferenceType parent
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
description, name
 
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
ItemType()
           
 
Method Summary
 List<JAXBElement<? extends ItemType>> getItem()
          Gets the value of the item property.
 LocalItemReferenceType getParent()
          Gets the value of the parent property.
 void setParent(LocalItemReferenceType value)
          Sets the value of the parent property.
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
getDescription, getName
 
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

parent

protected LocalItemReferenceType parent

item

protected List<JAXBElement<? extends ItemType>> item
Constructor Detail

ItemType

public ItemType()
Method Detail

getParent

public LocalItemReferenceType getParent()
Gets the value of the parent property.

Returns:
possible object is LocalItemReferenceType

setParent

public void setParent(LocalItemReferenceType value)
Sets the value of the parent property.

Parameters:
value - allowed object is LocalItemReferenceType

getItem

public List<JAXBElement<? extends ItemType>> getItem()
Gets the value of the item 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 item property.

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

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<CodeType> JAXBElement<ConceptType> JAXBElement<ReportingCategoryType> JAXBElement<CategoryType> JAXBElement<ItemType> JAXBElement<DataConsumerType> JAXBElement<OrganisationUnitType> JAXBElement<OrganisationType> JAXBElement<DataProviderType> JAXBElement<AgencyType>



Copyright © 2012. All Rights Reserved.