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

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

public class ReferenceValueType
extends Object

ReferenceValueType defines the structure of a target object 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.

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}ObjectReferenceType"/>
         <element name="DataKey" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}DataKeyType"/>
         <element name="DataSetReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}SetReferenceType"/>
         <element name="ConstraintContentReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AttachmentConstraintReferenceType"/>
         <element name="ReportPeriod" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ObservationalTimePeriodType"/>
       </choice>
       <attribute name="id" use="required" 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  ObjectReferenceType 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.
 ObjectReferenceType 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(ObjectReferenceType 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 ObjectReferenceType 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 ObjectReferenceType getObjectReference()
Gets the value of the objectReference property.

Returns:
possible object is ObjectReferenceType

setObjectReference

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

Parameters:
value - allowed object is ObjectReferenceType

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.