org.sdmx.resources.sdmxml.schemas.v2_1.metadata.structurespecific
Class ReferenceValueType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.metadata.structurespecific.ReferenceValueType

public abstract class ReferenceValueType
extends Object

ReferenceValueType is an abstract base type that forms the basis of a target reference value. A target reference value will either be a reference to an identifiable object, a data key, a reference to a data set, or a report period. The choice of these options will be refined to only one according to the definition of the target in the metadata structure definition.

Java class for ReferenceValueType complex type.

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

 <complexType name="ReferenceValueType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="ObjectReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ReferenceType" form="unqualified"/>
         <element name="DataKey" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}DataKeyType" form="unqualified"/>
         <element name="DataSetReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}SetReferenceType" form="unqualified"/>
         <element name="ConstraintContentReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AttachmentConstraintReferenceType" form="unqualified"/>
         <element name="ReportPeriod" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ObservationalTimePeriodType" form="unqualified"/>
       </choice>
       <attribute name="id" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AttachmentConstraintReferenceType constraintContentReference
           
protected  DataKeyType dataKey
           
protected  SetReferenceType dataSetReference
           
protected  String id
           
protected  ReferenceType objectReference
           
protected  List<String> reportPeriod
           
 
Constructor Summary
ReferenceValueType()
           
 
Method Summary
 AttachmentConstraintReferenceType getConstraintContentReference()
          Gets the value of the constraintContentReference property.
 DataKeyType getDataKey()
          Gets the value of the dataKey property.
 SetReferenceType getDataSetReference()
          Gets the value of the dataSetReference property.
 String getId()
          Gets the value of the id property.
 ReferenceType getObjectReference()
          Gets the value of the objectReference property.
 List<String> getReportPeriod()
          Gets the value of the reportPeriod property.
 void setConstraintContentReference(AttachmentConstraintReferenceType value)
          Sets the value of the constraintContentReference property.
 void setDataKey(DataKeyType value)
          Sets the value of the dataKey property.
 void setDataSetReference(SetReferenceType value)
          Sets the value of the dataSetReference property.
 void setId(String value)
          Sets the value of the id property.
 void setObjectReference(ReferenceType value)
          Sets the value of the objectReference property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectReference

protected ReferenceType objectReference

dataKey

protected DataKeyType dataKey

dataSetReference

protected SetReferenceType dataSetReference

constraintContentReference

protected AttachmentConstraintReferenceType constraintContentReference

reportPeriod

protected List<String> reportPeriod

id

protected String id
Constructor Detail

ReferenceValueType

public ReferenceValueType()
Method Detail

getObjectReference

public ReferenceType getObjectReference()
Gets the value of the objectReference property.

Returns:
possible object is ReferenceType

setObjectReference

public void setObjectReference(ReferenceType value)
Sets the value of the objectReference property.

Parameters:
value - allowed object is ReferenceType

getDataKey

public DataKeyType getDataKey()
Gets the value of the dataKey property.

Returns:
possible object is DataKeyType

setDataKey

public void setDataKey(DataKeyType value)
Sets the value of the dataKey property.

Parameters:
value - allowed object is DataKeyType

getDataSetReference

public SetReferenceType getDataSetReference()
Gets the value of the dataSetReference property.

Returns:
possible object is SetReferenceType

setDataSetReference

public void setDataSetReference(SetReferenceType value)
Sets the value of the dataSetReference property.

Parameters:
value - allowed object is SetReferenceType

getConstraintContentReference

public AttachmentConstraintReferenceType getConstraintContentReference()
Gets the value of the constraintContentReference property.

Returns:
possible object is AttachmentConstraintReferenceType

setConstraintContentReference

public void setConstraintContentReference(AttachmentConstraintReferenceType value)
Sets the value of the constraintContentReference property.

Parameters:
value - allowed object is AttachmentConstraintReferenceType

getReportPeriod

public List<String> getReportPeriod()
Gets the value of the reportPeriod 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 reportPeriod property.

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

    getReportPeriod().add(newItem);
 

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


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


Copyright © 2012. All Rights Reserved.