public class RegistrationBeanImpl extends MaintainableBeanImpl implements RegistrationBean
DEFAULT_VERSION
Constructor and Description |
---|
RegistrationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.registry.ProvisionAgreementRefType provRef,
org.sdmx.resources.sdmxml.schemas.v20.registry.DatasourceType datasourceType) |
RegistrationBeanImpl(RegistrationMutableBean registrationMutable) |
RegistrationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.registry.RegistrationType registrationType) |
RegistrationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.registry.RegistrationType registrationType) |
Modifier and Type | Method and Description |
---|---|
boolean |
deepEquals(SDMXBean bean,
boolean includeFinalProperties)
Returns true if this SdmxBean equals the given bean in every respect (except for the validTo property of a maintainable artefact, this is not taken into consideration)
This method calls deepEquals on any SdmxBean composites.
|
java.util.List<CrossReferenceBean> |
getCrossReferencedConstrainables()
Returns a reference to any referenced structures that can also be constrained, examples are:
Registration would return reference to a provision agreement
Provision Agreement would return a reference to a dataflow and a Data Provider
Dataflow would return a reference to a data structure
Data Structure would return null
(example a provision agreement would return a reference to a dataflow)
|
DataSourceBean |
getDataSource() |
TERTIARY_BOOL |
getIndexAttributes()
The indexAttributes, if true, indicates that the registry must index the range of actual (present) values
for each attribute of the data set or the presence of the metadata attributes of the metadata set (as indicated in the set's structure definition).
|
TERTIARY_BOOL |
getIndexDataset()
The indexDataSet, if true, indicates that the registry must index the range of actual (present)
values for each dimension of the data set or identifier component of the metadata set (as indicated in the set's structure definition).
|
TERTIARY_BOOL |
getIndexReportingPeriod()
The indexReportingPeriod, if true, indicates that the registry must index the time period ranges for which data is present for the data source.
|
TERTIARY_BOOL |
getIndexTimeSeries()
The indexTimeSeries, if true, indicates that the registry must index all time series for the registered data.
|
SdmxDate |
getLastUpdated()
Returns when the registration was last updated
|
RegistrationMutableBean |
getMutableInstance()
Returns a representation of itself in a bean which can be modified, modifications to the mutable bean
are not reflected in the instance of the RegistrationMutableBean.
|
CrossReferenceBean |
getProvisionAgreementRef() |
MaintainableBean |
getStub(java.net.URL actualLocation,
boolean isServiceUrl)
Returns a stub reference of itself.
|
SdmxDate |
getValidFrom() |
SdmxDate |
getValidTo() |
boolean |
isIndexed()
Returns true if one of the index getters is set to true
|
addAnnotations, compareTo, getAgencyId, getEndDate, getServiceURL, getStartDate, getStructureURL, getVersion, isExternalReference, isFinal
getAllTextTypes, getDescription, getDescriptions, getName, getNames
asReference, equals, getFullIdPath, getId, getUri, getUrn, hashCode, toString
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent, getStructureType
getComposites, getComposites, getCrossReferences, getParent
addAnnotations, getAgencyId, getEndDate, getServiceURL, getStartDate, getStructureURL, getVersion, isExternalReference, isFinal
getDescription, getDescriptions, getName, getNames
asReference, getAllTextTypes, getFullIdPath, getId, getUri, getUrn
getAnnotations, getAnnotationsByTitle, getAnnotationsByType, hasAnnotationType
getIdentifiableComposites, getIdentifiableParent, getMaintainableParent, getParent
getComposites, getComposites, getCrossReferences, getParent, getStructureType
public RegistrationBeanImpl(RegistrationMutableBean registrationMutable)
public RegistrationBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.registry.RegistrationType registrationType)
public RegistrationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.registry.RegistrationType registrationType)
public RegistrationBeanImpl(org.sdmx.resources.sdmxml.schemas.v20.registry.ProvisionAgreementRefType provRef, org.sdmx.resources.sdmxml.schemas.v20.registry.DatasourceType datasourceType)
public boolean deepEquals(SDMXBean bean, boolean includeFinalProperties)
SDMXBean
deepEquals
in interface SDMXBean
deepEquals
in class SDMXBeanImpl
bean
- if null, then false will be returnedincludeFinalProperties
- - if true, then this method will check every single property from this bean is
equal to the passed in bean. If false, then this method will ignore the following properties:
public boolean isIndexed()
RegistrationBean
isIndexed
in interface RegistrationBean
public MaintainableBean getStub(java.net.URL actualLocation, boolean isServiceUrl)
MaintainableBean
getStub
in interface MaintainableBean
actualLocation
- the URL indicating where the full structure can be returned fromisServiceUrl
- if true this URL will be present on the serviceURL attribute, otherwise it will be treated as a structureURL attributepublic RegistrationMutableBean getMutableInstance()
RegistrationBean
getMutableInstance
in interface MaintainableBean
getMutableInstance
in interface RegistrationBean
public TERTIARY_BOOL getIndexTimeSeries()
RegistrationBean
getIndexTimeSeries
in interface RegistrationBean
public TERTIARY_BOOL getIndexDataset()
RegistrationBean
getIndexDataset
in interface RegistrationBean
public TERTIARY_BOOL getIndexAttributes()
RegistrationBean
getIndexAttributes
in interface RegistrationBean
public TERTIARY_BOOL getIndexReportingPeriod()
RegistrationBean
getIndexReportingPeriod
in interface RegistrationBean
public DataSourceBean getDataSource()
getDataSource
in interface RegistrationBean
public SdmxDate getLastUpdated()
RegistrationBean
getLastUpdated
in interface RegistrationBean
public java.util.List<CrossReferenceBean> getCrossReferencedConstrainables()
ConstrainableBean
getCrossReferencedConstrainables
in interface ConstrainableBean
public CrossReferenceBean getProvisionAgreementRef()
getProvisionAgreementRef
in interface RegistrationBean
public SdmxDate getValidFrom()
getValidFrom
in interface RegistrationBean
public SdmxDate getValidTo()
getValidTo
in interface RegistrationBean