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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.registry.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.

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"/>
         <element name="Datasource" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}DatasourceType" minOccurs="0"/>
         <element name="Constraint" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ConstraintType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String agencyID
           
protected  ConstraintType constraint
           
protected  String dataflowID
           
protected  DatasourceType datasource
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
DataflowRefType()
           
 
Method Summary
 String getAgencyID()
          Gets the value of the agencyID property.
 ConstraintType getConstraint()
          Gets the value of the constraint property.
 String getDataflowID()
          Gets the value of the dataflowID property.
 DatasourceType getDatasource()
          Gets the value of the datasource 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 setConstraint(ConstraintType value)
          Sets the value of the constraint property.
 void setDataflowID(String value)
          Sets the value of the dataflowID property.
 void setDatasource(DatasourceType value)
          Sets the value of the datasource 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

datasource

protected DatasourceType datasource

constraint

protected ConstraintType constraint
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

getDatasource

public DatasourceType getDatasource()
Gets the value of the datasource property.

Returns:
possible object is DatasourceType

setDatasource

public void setDatasource(DatasourceType value)
Sets the value of the datasource property.

Parameters:
value - allowed object is DatasourceType

getConstraint

public ConstraintType getConstraint()
Gets the value of the constraint property.

Returns:
possible object is ConstraintType

setConstraint

public void setConstraint(ConstraintType value)
Sets the value of the constraint property.

Parameters:
value - allowed object is ConstraintType


Copyright © 2012. All Rights Reserved.