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

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

public class RegistrationType
extends Object

Registration provides the information needed for data and reference metadata set registration. A data source 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 metadata flow, or a dataflow definition. If possible, the provision agreement should be specified. Only in cases where this is not possible should the dataflow or metadata flow 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="ProvisionAgreement" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ProvisionAgreementReferenceType"/>
         <element name="Datasource" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}DataSourceType"/>
       </sequence>
       <attribute name="id" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
       <attribute name="validFrom" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="validTo" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="lastUpdated" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="indexTimeSeries" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="indexDataSet" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="indexAttributes" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="indexReportingPeriod" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  DataSourceType datasource
           
protected  String id
           
protected  Boolean indexAttributes
           
protected  Boolean indexDataSet
           
protected  Boolean indexReportingPeriod
           
protected  Boolean indexTimeSeries
           
protected  XMLGregorianCalendar lastUpdated
           
protected  ProvisionAgreementReferenceType provisionAgreement
           
protected  XMLGregorianCalendar validFrom
           
protected  XMLGregorianCalendar validTo
           
 
Constructor Summary
RegistrationType()
           
 
Method Summary
 DataSourceType getDatasource()
          Gets the value of the datasource property.
 String getId()
          Gets the value of the id property.
 XMLGregorianCalendar getLastUpdated()
          Gets the value of the lastUpdated property.
 ProvisionAgreementReferenceType getProvisionAgreement()
          Gets the value of the provisionAgreement property.
 XMLGregorianCalendar getValidFrom()
          Gets the value of the validFrom property.
 XMLGregorianCalendar getValidTo()
          Gets the value of the validTo property.
 boolean isIndexAttributes()
          Gets the value of the indexAttributes property.
 boolean isIndexDataSet()
          Gets the value of the indexDataSet property.
 boolean isIndexReportingPeriod()
          Gets the value of the indexReportingPeriod property.
 boolean isIndexTimeSeries()
          Gets the value of the indexTimeSeries property.
 void setDatasource(DataSourceType value)
          Sets the value of the datasource property.
 void setId(String value)
          Sets the value of the id property.
 void setIndexAttributes(Boolean value)
          Sets the value of the indexAttributes property.
 void setIndexDataSet(Boolean value)
          Sets the value of the indexDataSet property.
 void setIndexReportingPeriod(Boolean value)
          Sets the value of the indexReportingPeriod property.
 void setIndexTimeSeries(Boolean value)
          Sets the value of the indexTimeSeries property.
 void setLastUpdated(XMLGregorianCalendar value)
          Sets the value of the lastUpdated property.
 void setProvisionAgreement(ProvisionAgreementReferenceType value)
          Sets the value of the provisionAgreement 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

provisionAgreement

protected ProvisionAgreementReferenceType provisionAgreement

datasource

protected DataSourceType datasource

id

protected String id

validFrom

protected XMLGregorianCalendar validFrom

validTo

protected XMLGregorianCalendar validTo

lastUpdated

protected XMLGregorianCalendar lastUpdated

indexTimeSeries

protected Boolean indexTimeSeries

indexDataSet

protected Boolean indexDataSet

indexAttributes

protected Boolean indexAttributes

indexReportingPeriod

protected Boolean indexReportingPeriod
Constructor Detail

RegistrationType

public RegistrationType()
Method Detail

getProvisionAgreement

public ProvisionAgreementReferenceType getProvisionAgreement()
Gets the value of the provisionAgreement property.

Returns:
possible object is ProvisionAgreementReferenceType

setProvisionAgreement

public void setProvisionAgreement(ProvisionAgreementReferenceType value)
Sets the value of the provisionAgreement property.

Parameters:
value - allowed object is ProvisionAgreementReferenceType

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

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

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

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

isIndexTimeSeries

public boolean isIndexTimeSeries()
Gets the value of the indexTimeSeries property.

Returns:
possible object is Boolean

setIndexTimeSeries

public void setIndexTimeSeries(Boolean value)
Sets the value of the indexTimeSeries property.

Parameters:
value - allowed object is Boolean

isIndexDataSet

public boolean isIndexDataSet()
Gets the value of the indexDataSet property.

Returns:
possible object is Boolean

setIndexDataSet

public void setIndexDataSet(Boolean value)
Sets the value of the indexDataSet property.

Parameters:
value - allowed object is Boolean

isIndexAttributes

public boolean isIndexAttributes()
Gets the value of the indexAttributes property.

Returns:
possible object is Boolean

setIndexAttributes

public void setIndexAttributes(Boolean value)
Sets the value of the indexAttributes property.

Parameters:
value - allowed object is Boolean

isIndexReportingPeriod

public boolean isIndexReportingPeriod()
Gets the value of the indexReportingPeriod property.

Returns:
possible object is Boolean

setIndexReportingPeriod

public void setIndexReportingPeriod(Boolean value)
Sets the value of the indexReportingPeriod property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.