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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.registry.MetadataflowRefType

public class MetadataflowRefType
extends Object

The MetadataflowRef type structures a reference to a metadataflow definition. This requires that ID are provided for a pre-existing Agency and Metadataflow 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. When used in a response document of any type, the URN must always be provided. At a minimum, either the URN element or AgencyID, MetadataflowID, and (optionally) version must be supplied. Datasource may be used to specify a datasource. Constraint can be used to provide constraints associated with the metadataflow.

Java class for MetadataflowRefType complex type.

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

 <complexType name="MetadataflowRefType">
   <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="MetadataflowID" 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  DatasourceType datasource
           
protected  String metadataflowID
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
MetadataflowRefType()
           
 
Method Summary
 String getAgencyID()
          Gets the value of the agencyID property.
 ConstraintType getConstraint()
          Gets the value of the constraint property.
 DatasourceType getDatasource()
          Gets the value of the datasource property.
 String getMetadataflowID()
          Gets the value of the metadataflowID 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 setDatasource(DatasourceType value)
          Sets the value of the datasource property.
 void setMetadataflowID(String value)
          Sets the value of the metadataflowID 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

metadataflowID

protected String metadataflowID

version

protected String version

datasource

protected DatasourceType datasource

constraint

protected ConstraintType constraint
Constructor Detail

MetadataflowRefType

public MetadataflowRefType()
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

getMetadataflowID

public String getMetadataflowID()
Gets the value of the metadataflowID property.

Returns:
possible object is String

setMetadataflowID

public void setMetadataflowID(String value)
Sets the value of the metadataflowID 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.