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

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

public class RegistrationType
extends Object

Registration provides the information needed for data and reference metadata set registration. LastUpdated can provide a time stamp; ValidFrom and ValidTo allow for effectivity, so that data visibility from the registry can be controlled by the registrant. A Datasource must be supplied here if not already provided in the provision agreement. The data set or metadata set must be associated with a provision agreement, a metadataflow, or a dataflow definition. If possible, the provision agreement should be specified. Only in cases where this is not possible should the dataflow or metadataflow be used.

Java class for RegistrationType complex type.

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

 <complexType name="RegistrationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="LastUpdated" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="ValidFrom" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="ValidTo" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Action" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ActionType"/>
         <element name="Datasource" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}DatasourceType" minOccurs="0"/>
         <choice>
           <element name="DataflowRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}DataflowRefType"/>
           <element name="MetadataflowRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}MetadataflowRefType"/>
           <element name="ProvisionAgreementRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}ProvisionAgreementRefType"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType action
           
protected  DataflowRefType dataflowRef
           
protected  DatasourceType datasource
           
protected  XMLGregorianCalendar lastUpdated
           
protected  MetadataflowRefType metadataflowRef
           
protected  ProvisionAgreementRefType provisionAgreementRef
           
protected  XMLGregorianCalendar validFrom
           
protected  XMLGregorianCalendar validTo
           
 
Constructor Summary
RegistrationType()
           
 
Method Summary
 ActionType getAction()
          Gets the value of the action property.
 DataflowRefType getDataflowRef()
          Gets the value of the dataflowRef property.
 DatasourceType getDatasource()
          Gets the value of the datasource property.
 XMLGregorianCalendar getLastUpdated()
          Gets the value of the lastUpdated property.
 MetadataflowRefType getMetadataflowRef()
          Gets the value of the metadataflowRef property.
 ProvisionAgreementRefType getProvisionAgreementRef()
          Gets the value of the provisionAgreementRef property.
 XMLGregorianCalendar getValidFrom()
          Gets the value of the validFrom property.
 XMLGregorianCalendar getValidTo()
          Gets the value of the validTo property.
 void setAction(ActionType value)
          Sets the value of the action property.
 void setDataflowRef(DataflowRefType value)
          Sets the value of the dataflowRef property.
 void setDatasource(DatasourceType value)
          Sets the value of the datasource property.
 void setLastUpdated(XMLGregorianCalendar value)
          Sets the value of the lastUpdated property.
 void setMetadataflowRef(MetadataflowRefType value)
          Sets the value of the metadataflowRef property.
 void setProvisionAgreementRef(ProvisionAgreementRefType value)
          Sets the value of the provisionAgreementRef property.
 void setValidFrom(XMLGregorianCalendar value)
          Sets the value of the validFrom property.
 void setValidTo(XMLGregorianCalendar value)
          Sets the value of the validTo property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastUpdated

protected XMLGregorianCalendar lastUpdated

validFrom

protected XMLGregorianCalendar validFrom

validTo

protected XMLGregorianCalendar validTo

action

protected ActionType action

datasource

protected DatasourceType datasource

dataflowRef

protected DataflowRefType dataflowRef

metadataflowRef

protected MetadataflowRefType metadataflowRef

provisionAgreementRef

protected ProvisionAgreementRefType provisionAgreementRef
Constructor Detail

RegistrationType

public RegistrationType()
Method Detail

getLastUpdated

public XMLGregorianCalendar getLastUpdated()
Gets the value of the lastUpdated property.

Returns:
possible object is XMLGregorianCalendar

setLastUpdated

public void setLastUpdated(XMLGregorianCalendar value)
Sets the value of the lastUpdated property.

Parameters:
value - allowed object is XMLGregorianCalendar

getValidFrom

public XMLGregorianCalendar getValidFrom()
Gets the value of the validFrom property.

Returns:
possible object is XMLGregorianCalendar

setValidFrom

public void setValidFrom(XMLGregorianCalendar value)
Sets the value of the validFrom property.

Parameters:
value - allowed object is XMLGregorianCalendar

getValidTo

public XMLGregorianCalendar getValidTo()
Gets the value of the validTo property.

Returns:
possible object is XMLGregorianCalendar

setValidTo

public void setValidTo(XMLGregorianCalendar value)
Sets the value of the validTo property.

Parameters:
value - allowed object is XMLGregorianCalendar

getAction

public ActionType getAction()
Gets the value of the action property.

Returns:
possible object is ActionType

setAction

public void setAction(ActionType value)
Sets the value of the action property.

Parameters:
value - allowed object is ActionType

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

getDataflowRef

public DataflowRefType getDataflowRef()
Gets the value of the dataflowRef property.

Returns:
possible object is DataflowRefType

setDataflowRef

public void setDataflowRef(DataflowRefType value)
Sets the value of the dataflowRef property.

Parameters:
value - allowed object is DataflowRefType

getMetadataflowRef

public MetadataflowRefType getMetadataflowRef()
Gets the value of the metadataflowRef property.

Returns:
possible object is MetadataflowRefType

setMetadataflowRef

public void setMetadataflowRef(MetadataflowRefType value)
Sets the value of the metadataflowRef property.

Parameters:
value - allowed object is MetadataflowRefType

getProvisionAgreementRef

public ProvisionAgreementRefType getProvisionAgreementRef()
Gets the value of the provisionAgreementRef property.

Returns:
possible object is ProvisionAgreementRefType

setProvisionAgreementRef

public void setProvisionAgreementRef(ProvisionAgreementRefType value)
Sets the value of the provisionAgreementRef property.

Parameters:
value - allowed object is ProvisionAgreementRefType


Copyright © 2012. All Rights Reserved.