org.sdmx.resources.sdmxml.schemas.v2_1.query
Class ItemWhereType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.AnnotableWhereType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.IdentifiableWhereType
          extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.NameableWhereType
              extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.ItemWhereType
Direct Known Subclasses:
CategoryWhereType, CodeWhereType, ConceptWhereBaseType, OrganisationWhereType, ReportingCategoryWhereBaseType

public abstract class ItemWhereType
extends NameableWhereType

ItemQueryType is an abstract base type that serves as the basis for a query for an item within an item scheme query. A nested item where is provided to query for items nested within other items. The conditions within an item query are implied to be in an and-query. If an id and a child item where condition are supplied, then both conditions will have to met in order for the item query to return true. If, for instance, a query based on names in multiple languages is required, then multiple instances of the element utilizing this type should be used within an or-query container.

Java class for ItemWhereType complex type.

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

 <complexType name="ItemWhereType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/query}NameableWhereType">
       <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/query}ItemWhere"/>
         </sequence>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<JAXBElement<? extends ItemWhereType>> itemWhere
           
protected  LocalItemReferenceType parent
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.NameableWhereType
description, name
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.IdentifiableWhereType
id, urn
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.AnnotableWhereType
annotation
 
Constructor Summary
ItemWhereType()
           
 
Method Summary
 List<JAXBElement<? extends ItemWhereType>> getItemWhere()
          Gets the value of the itemWhere 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.query.NameableWhereType
getDescription, getName, setDescription, setName
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.IdentifiableWhereType
getID, getURN, setID, setURN
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.AnnotableWhereType
getAnnotation, setAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected LocalItemReferenceType parent

itemWhere

protected List<JAXBElement<? extends ItemWhereType>> itemWhere
Constructor Detail

ItemWhereType

public ItemWhereType()
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

getItemWhere

public List<JAXBElement<? extends ItemWhereType>> getItemWhere()
Gets the value of the itemWhere 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 itemWhere property.

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

    getItemWhere().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<ConceptWhereType> JAXBElement<ItemWhereType> JAXBElement<CategoryWhereType> JAXBElement<OrganisationWhereType> JAXBElement<CodeWhereType> JAXBElement<ReportingCategoryWhereType>



Copyright © 2012. All Rights Reserved.