public class ContentConstraintBeanImpl extends ConstraintBeanImpl implements ContentConstraintBean
WILDCARD_CODE
DEFAULT_VERSION
Constructor and Description |
---|
ContentConstraintBeanImpl(ContentConstraintBean bean,
java.net.URL actualLocation,
boolean isServiceUrl) |
ContentConstraintBeanImpl(ContentConstraintMutableBean mutable) |
ContentConstraintBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.ContentConstraintType type) |
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.
|
CubeRegionBean |
getExcludedCubeRegion()
Returns a CubeRegion where the Keys and Attributes are defining data is is not present or disallowed (depending on isDefiningActualDataPresent() value)
|
CubeRegionBean |
getIncludedCubeRegion()
Returns a CubeRegion where the Keys and Attributes are defining data that is present or allowed (depending on isDefiningActualDataPresent() value)
|
MetadataTargetRegionBean |
getMetadataTargetRegion()
Returns the metadata target region, or null if this is undefined.
|
ContentConstraintMutableBean |
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 MaintainableBean.
|
ReferencePeriodBean |
getReferencePeriod() |
ReleaseCalendarBean |
getReleaseCalendar() |
ContentConstraintBean |
getStub(java.net.URL actualLocation,
boolean isServiceUrl)
Returns a stub reference of itself.
|
boolean |
isDefiningActualDataPresent()
Returns true if this constraint is defining the actual data present for this constraint, false if it is defining the
allowed data
|
getConstraintAttachment, getExcludedMetadataKeys, getExcludedSeriesKeys, getIncludedMetadataKeys, getIncludedSeriesKeys
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
getConstraintAttachment, getExcludedSeriesKeys, getIncludedSeriesKeys
getExcludedMetadataKeys, getIncludedMetadataKeys
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 ContentConstraintBeanImpl(ContentConstraintBean bean, java.net.URL actualLocation, boolean isServiceUrl)
public ContentConstraintBeanImpl(ContentConstraintMutableBean mutable)
public ContentConstraintBeanImpl(org.sdmx.resources.sdmxml.schemas.v21.structure.ContentConstraintType type)
public MetadataTargetRegionBean getMetadataTargetRegion()
ContentConstraintBean
getMetadataTargetRegion
in interface ContentConstraintBean
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 ContentConstraintBean 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 ContentConstraintMutableBean getMutableInstance()
ContentConstraintBean
getMutableInstance
in interface MaintainableBean
getMutableInstance
in interface ContentConstraintBean
public CubeRegionBean getIncludedCubeRegion()
ContentConstraintBean
getIncludedCubeRegion
in interface ContentConstraintBean
public CubeRegionBean getExcludedCubeRegion()
ContentConstraintBean
getExcludedCubeRegion
in interface ContentConstraintBean
public ReferencePeriodBean getReferencePeriod()
getReferencePeriod
in interface ContentConstraintBean
public ReleaseCalendarBean getReleaseCalendar()
getReleaseCalendar
in interface ContentConstraintBean
public boolean isDefiningActualDataPresent()
ContentConstraintBean
isDefiningActualDataPresent
in interface ContentConstraintBean