|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.registry.ProvisionAgreementType
public class ProvisionAgreementType
Provision agreements contain a reference to a pre-existing data flow or metadata flow definition and a pre-existing data (or metadata) provider in the registry. They also must have the action attribute set, indicating whether this is an addition, a modification, or a deletion of a provision agreement. They may also supply boolean values which describe how the registry must behave: if indexTimeSeries is true, then the registry must index all time series when a data set is registered against this provision agreement; if indexDataSet is true, then the registry must index the range of actual (present) values for each dimension of the Dataset (as indicated in the dataset's key family); if indexReportingPeriod is true, then the registry must index the time period ranges for which data are present in the dataset(s) registered against the provision agreement. Note that the values for these attributes are not needed when a Delete action is indicated. As for all identifiable objects, provision agreements have Name and Description elements, which are repeatable to provide language-specific forms. These may be ommitted if the provision agreement already exists (as is the case for modification and deletion); descriptions are always optional. The id attribute holds the unique id of the provision agreement as derived (according to teh logical registry specifcation.) If specified, the uri attribute points to a location (typically a URL) where the provision agreement is described in a valid QueryProvisioningResponse message. The urn attribute holds the reserved registry URN assigned to the provision agreement - this must be included when the ProvisionAgreement structure is used in a response document of any type. The action attribute must be specified when the provisionAgreement is used in a request document of any type.. Datasource is used to describe the data source associated with the provider agreement. Annotations may be provided in the Annotations element. The validFrom and validTo attributes provide inclusive dates for providing supplemental validity information about the version.
Java class for ProvisionAgreementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProvisionAgreementType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Name" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
<element name="Description" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded" 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"/>
</choice>
<element name="DataProviderRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}DataProviderRefType"/>
<element name="Datasource" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}QueryableDatasourceType" minOccurs="0"/>
<element name="Constraint" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ConstraintType" minOccurs="0"/>
<element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" />
<attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="urn" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="action" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ActionType" />
<attribute name="indexTimeSeries" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="indexDataSet" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="indexReportingPeriod" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="validFrom" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TimePeriodType" />
<attribute name="validTo" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TimePeriodType" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected ActionType |
action
|
protected AnnotationsType |
annotations
|
protected ConstraintType |
constraint
|
protected DataflowRefType |
dataflowRef
|
protected DataProviderRefType |
dataProviderRef
|
protected QueryableDatasourceType |
datasource
|
protected List<TextType> |
description
|
protected String |
id
|
protected Boolean |
indexDataSet
|
protected Boolean |
indexReportingPeriod
|
protected Boolean |
indexTimeSeries
|
protected MetadataflowRefType |
metadataflowRef
|
protected List<TextType> |
name
|
protected String |
uri
|
protected String |
urn
|
protected String |
validFrom
|
protected String |
validTo
|
| Constructor Summary | |
|---|---|
ProvisionAgreementType()
|
|
| Method Summary | |
|---|---|
ActionType |
getAction()
Gets the value of the action property. |
AnnotationsType |
getAnnotations()
Gets the value of the annotations property. |
ConstraintType |
getConstraint()
Gets the value of the constraint property. |
DataflowRefType |
getDataflowRef()
Gets the value of the dataflowRef property. |
DataProviderRefType |
getDataProviderRef()
Gets the value of the dataProviderRef property. |
QueryableDatasourceType |
getDatasource()
Gets the value of the datasource property. |
List<TextType> |
getDescription()
Gets the value of the description property. |
String |
getId()
Gets the value of the id property. |
MetadataflowRefType |
getMetadataflowRef()
Gets the value of the metadataflowRef property. |
List<TextType> |
getName()
Gets the value of the name property. |
String |
getUri()
Gets the value of the uri property. |
String |
getUrn()
Gets the value of the urn property. |
String |
getValidFrom()
Gets the value of the validFrom property. |
String |
getValidTo()
Gets the value of the validTo 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 |
setAction(ActionType value)
Sets the value of the action property. |
void |
setAnnotations(AnnotationsType value)
Sets the value of the annotations property. |
void |
setConstraint(ConstraintType value)
Sets the value of the constraint property. |
void |
setDataflowRef(DataflowRefType value)
Sets the value of the dataflowRef property. |
void |
setDataProviderRef(DataProviderRefType value)
Sets the value of the dataProviderRef property. |
void |
setDatasource(QueryableDatasourceType value)
Sets the value of the datasource property. |
void |
setId(String value)
Sets the value of the id 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 |
setMetadataflowRef(MetadataflowRefType value)
Sets the value of the metadataflowRef property. |
void |
setUri(String value)
Sets the value of the uri property. |
void |
setUrn(String value)
Sets the value of the urn property. |
void |
setValidFrom(String value)
Sets the value of the validFrom property. |
void |
setValidTo(String 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 |
|---|
protected List<TextType> name
protected List<TextType> description
protected DataflowRefType dataflowRef
protected MetadataflowRefType metadataflowRef
protected DataProviderRefType dataProviderRef
protected QueryableDatasourceType datasource
protected ConstraintType constraint
protected AnnotationsType annotations
protected String id
protected String uri
protected String urn
protected ActionType action
protected Boolean indexTimeSeries
protected Boolean indexDataSet
protected Boolean indexReportingPeriod
protected String validFrom
protected String validTo
| Constructor Detail |
|---|
public ProvisionAgreementType()
| Method Detail |
|---|
public List<TextType> getName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the name property.
For example, to add a new item, do as follows:
getName().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public List<TextType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public DataflowRefType getDataflowRef()
DataflowRefTypepublic void setDataflowRef(DataflowRefType value)
value - allowed object is
DataflowRefTypepublic MetadataflowRefType getMetadataflowRef()
MetadataflowRefTypepublic void setMetadataflowRef(MetadataflowRefType value)
value - allowed object is
MetadataflowRefTypepublic DataProviderRefType getDataProviderRef()
DataProviderRefTypepublic void setDataProviderRef(DataProviderRefType value)
value - allowed object is
DataProviderRefTypepublic QueryableDatasourceType getDatasource()
QueryableDatasourceTypepublic void setDatasource(QueryableDatasourceType value)
value - allowed object is
QueryableDatasourceTypepublic ConstraintType getConstraint()
ConstraintTypepublic void setConstraint(ConstraintType value)
value - allowed object is
ConstraintTypepublic AnnotationsType getAnnotations()
AnnotationsTypepublic void setAnnotations(AnnotationsType value)
value - allowed object is
AnnotationsTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getUri()
Stringpublic void setUri(String value)
value - allowed object is
Stringpublic String getUrn()
Stringpublic void setUrn(String value)
value - allowed object is
Stringpublic ActionType getAction()
ActionTypepublic void setAction(ActionType value)
value - allowed object is
ActionTypepublic Boolean isIndexTimeSeries()
Booleanpublic void setIndexTimeSeries(Boolean value)
value - allowed object is
Booleanpublic Boolean isIndexDataSet()
Booleanpublic void setIndexDataSet(Boolean value)
value - allowed object is
Booleanpublic Boolean isIndexReportingPeriod()
Booleanpublic void setIndexReportingPeriod(Boolean value)
value - allowed object is
Booleanpublic String getValidFrom()
Stringpublic void setValidFrom(String value)
value - allowed object is
Stringpublic String getValidTo()
Stringpublic void setValidTo(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||