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

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

public class DataflowRefType
extends Object

The DataflowRef type structures a reference to a dataflow definition. This requires that ID are provided for a pre-existing Agency and Dataflow Definition in the registry. The Version element may be used to specify the version of the indicated dataflow. If absent, the most recent version is assumed. The URN element is used to provide the registry-specific URN as an alternate means of identification. At a minimum, either the URN element or AgencyID, DataflowID, and (optionally) version must be supplied. When used in a response document of any type, the URN must always be provided. Datasource may be used to specify a datasource. Constraints can be used to specify constraints associated with the dataflow. Note that this is similar, but not identical to the DataflowRefType found in the SDMX-ML registry namespace package - it lacks references to the datasource and the constraints.

Java class for DataflowRefType complex type.

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

 <complexType name="DataflowRefType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="URN" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="AgencyID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" minOccurs="0"/>
         <element name="DataflowID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" minOccurs="0"/>
         <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String agencyID
           
protected  String dataflowID
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
DataflowRefType()
           
 
Method Summary
 String getAgencyID()
          Gets the value of the agencyID property.
 String getDataflowID()
          Gets the value of the dataflowID property.
 String getURN()
          Gets the value of the urn property.
 String getVersion()
          Gets the value of the version property.
 void setAgencyID(String value)
          Sets the value of the agencyID property.
 void setDataflowID(String value)
          Sets the value of the dataflowID property.
 void setURN(String value)
          Sets the value of the urn property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urn

protected String urn

agencyID

protected String agencyID

dataflowID

protected String dataflowID

version

protected String version
Constructor Detail

DataflowRefType

public DataflowRefType()
Method Detail

getURN

public String getURN()
Gets the value of the urn property.

Returns:
possible object is String

setURN

public void setURN(String value)
Sets the value of the urn property.

Parameters:
value - allowed object is String

getAgencyID

public String getAgencyID()
Gets the value of the agencyID property.

Returns:
possible object is String

setAgencyID

public void setAgencyID(String value)
Sets the value of the agencyID property.

Parameters:
value - allowed object is String

getDataflowID

public String getDataflowID()
Gets the value of the dataflowID property.

Returns:
possible object is String

setDataflowID

public void setDataflowID(String value)
Sets the value of the dataflowID property.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.