org.sdmx.resources.sdmxml.schemas.v2_0.structure
Class TargetIdentifiersType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.structure.TargetIdentifiersType

public class TargetIdentifiersType
extends Object

TargetIdentifiers are the set of objects against which reference metadata is reported (data providers, data flows, data or metadata structures, etc.). There are two types of TargetIdentifiers: the "full" target identifier, which lists every object used to attach metadata to in the metadata structure definition, and the partial target identifiers, which indicate sub-sets of those concepts against which reference metadata may be reported. It is sometimes the case that metadata will also be reported against the full target identifier. An example of this is as follows: we might wish to collect some metadata concepts such as contact information for some of the objects described by the SDMX Information Model - for each instance of a metadata flow or a data provider, for example. Our concepts would be the concepts associated with contact information: CONTACT_NAME, CONTACT_PHONE_NUMBER, etc. We would determine how these concepts are associated with the objects in the model: do we want a contact for each data provider broken out by data flow? Or do we want only a single contact reported for each data provider (who might provide several data flows)? Each object or combination of objects we need to have metadata reported for becomes a partial target identifier, unless it happens to contain the full target identifier, in which case we use that instead. Thus, our valid partial target identifiers here would be "data flow" and "data provider", because "data flow by data provider" is a full target identifier. For each target identifier, we could have some set of our concepts reported.

Java class for TargetIdentifiersType complex type.

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

 <complexType name="TargetIdentifiersType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="FullTargetIdentifier" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}FullTargetIdentifierType"/>
         <element name="PartialTargetIdentifier" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}PartialTargetIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AnnotationsType annotations
           
protected  FullTargetIdentifierType fullTargetIdentifier
           
protected  List<PartialTargetIdentifierType> partialTargetIdentifier
           
 
Constructor Summary
TargetIdentifiersType()
           
 
Method Summary
 AnnotationsType getAnnotations()
          Gets the value of the annotations property.
 FullTargetIdentifierType getFullTargetIdentifier()
          Gets the value of the fullTargetIdentifier property.
 List<PartialTargetIdentifierType> getPartialTargetIdentifier()
          Gets the value of the partialTargetIdentifier property.
 void setAnnotations(AnnotationsType value)
          Sets the value of the annotations property.
 void setFullTargetIdentifier(FullTargetIdentifierType value)
          Sets the value of the fullTargetIdentifier property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fullTargetIdentifier

protected FullTargetIdentifierType fullTargetIdentifier

partialTargetIdentifier

protected List<PartialTargetIdentifierType> partialTargetIdentifier

annotations

protected AnnotationsType annotations
Constructor Detail

TargetIdentifiersType

public TargetIdentifiersType()
Method Detail

getFullTargetIdentifier

public FullTargetIdentifierType getFullTargetIdentifier()
Gets the value of the fullTargetIdentifier property.

Returns:
possible object is FullTargetIdentifierType

setFullTargetIdentifier

public void setFullTargetIdentifier(FullTargetIdentifierType value)
Sets the value of the fullTargetIdentifier property.

Parameters:
value - allowed object is FullTargetIdentifierType

getPartialTargetIdentifier

public List<PartialTargetIdentifierType> getPartialTargetIdentifier()
Gets the value of the partialTargetIdentifier 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 partialTargetIdentifier property.

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

    getPartialTargetIdentifier().add(newItem);
 

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


getAnnotations

public AnnotationsType getAnnotations()
Gets the value of the annotations property.

Returns:
possible object is AnnotationsType

setAnnotations

public void setAnnotations(AnnotationsType value)
Sets the value of the annotations property.

Parameters:
value - allowed object is AnnotationsType


Copyright © 2012. All Rights Reserved.