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

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

public class DataProviderRefType
extends Object

The DataProviderRef type structures a reference to a data provider. This requires that IDs be provided for an organisation scheme, its maintenance agency, and the data provider as identified in the referenced organisation scheme. The Version element may be used to specify the version of the indicated data provider. 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 OrgansisationSchemeID, OrganisationSchemeAgencyID, DataProviderID, and (optionally) Version must be supplied. When used in a response document of any type, the URN must always be provided. Constraints can be used to specify constraints associated with the data provider. This type differs from the similar type in the Registry namespace by not describing the datasource.

Java class for DataProviderRefType complex type.

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

 <complexType name="DataProviderRefType">
   <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="OrganisationSchemeAgencyID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="OrganisationSchemeID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="DataProviderID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" 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  ConstraintType constraint
           
protected  String dataProviderID
           
protected  String organisationSchemeAgencyID
           
protected  String organisationSchemeID
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
DataProviderRefType()
           
 
Method Summary
 ConstraintType getConstraint()
          Gets the value of the constraint property.
 String getDataProviderID()
          Gets the value of the dataProviderID property.
 String getOrganisationSchemeAgencyID()
          Gets the value of the organisationSchemeAgencyID property.
 String getOrganisationSchemeID()
          Gets the value of the organisationSchemeID property.
 String getURN()
          Gets the value of the urn property.
 String getVersion()
          Gets the value of the version property.
 void setConstraint(ConstraintType value)
          Sets the value of the constraint property.
 void setDataProviderID(String value)
          Sets the value of the dataProviderID property.
 void setOrganisationSchemeAgencyID(String value)
          Sets the value of the organisationSchemeAgencyID property.
 void setOrganisationSchemeID(String value)
          Sets the value of the organisationSchemeID 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

organisationSchemeAgencyID

protected String organisationSchemeAgencyID

organisationSchemeID

protected String organisationSchemeID

dataProviderID

protected String dataProviderID

version

protected String version

constraint

protected ConstraintType constraint
Constructor Detail

DataProviderRefType

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

getOrganisationSchemeAgencyID

public String getOrganisationSchemeAgencyID()
Gets the value of the organisationSchemeAgencyID property.

Returns:
possible object is String

setOrganisationSchemeAgencyID

public void setOrganisationSchemeAgencyID(String value)
Sets the value of the organisationSchemeAgencyID property.

Parameters:
value - allowed object is String

getOrganisationSchemeID

public String getOrganisationSchemeID()
Gets the value of the organisationSchemeID property.

Returns:
possible object is String

setOrganisationSchemeID

public void setOrganisationSchemeID(String value)
Sets the value of the organisationSchemeID property.

Parameters:
value - allowed object is String

getDataProviderID

public String getDataProviderID()
Gets the value of the dataProviderID property.

Returns:
possible object is String

setDataProviderID

public void setDataProviderID(String value)
Sets the value of the dataProviderID 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

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.