org.sdmx.resources.sdmxml.schemas.v2_1.structure
Class ItemType
java.lang.Object
org.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.NameableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.ItemBaseType
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected LocalItemReferenceType parent
item
protected List<JAXBElement<? extends ItemType>> item
ItemType
public ItemType()
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.