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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.MetadataTargetValueType

public class MetadataTargetValueType
extends Object

MetadataTargetValueType describes the structure that is used to match reference metadata where a given metadata target's target object have particular values. If a value is not given for a target object which is part of the metadata target, it is assumed that all values are allowed for that target object. Thus, if no target object values are given in the entire metadata target, the query will simply match ant report where the reference metadata target is used. All target object value conditions must be met to constitute a match.

Java class for MetadataTargetValueType complex type.

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

 <complexType name="MetadataTargetValueType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ID" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}NCNameIDType"/>
         <element name="TargetObjectValue" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/query}TargetObjectValueType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  List<TargetObjectValueType> targetObjectValue
           
 
Constructor Summary
MetadataTargetValueType()
           
 
Method Summary
 String getID()
          Gets the value of the id property.
 List<TargetObjectValueType> getTargetObjectValue()
          Gets the value of the targetObjectValue property.
 void setID(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

targetObjectValue

protected List<TargetObjectValueType> targetObjectValue
Constructor Detail

MetadataTargetValueType

public MetadataTargetValueType()
Method Detail

getID

public String getID()
Gets the value of the id property.

Returns:
possible object is String

setID

public void setID(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getTargetObjectValue

public List<TargetObjectValueType> getTargetObjectValue()
Gets the value of the targetObjectValue 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 targetObjectValue property.

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

    getTargetObjectValue().add(newItem);
 

Objects of the following type(s) are allowed in the list TargetObjectValueType



Copyright © 2012. All Rights Reserved.