org.sdmx.resources.sdmxml.schemas.v2_1.structure
Class ConstraintType
java.lang.Object
org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.VersionableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.MaintainableBaseType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.MaintainableType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.ConstraintBaseType
org.sdmx.resources.sdmxml.schemas.v2_1.structure.ConstraintType
- Direct Known Subclasses:
- AttachmentConstraintType, ContentConstraintBaseType
public abstract class ConstraintType
- extends ConstraintBaseType
ConstraintType is an abstract base type that specific types of constraints (content and attachment) restrict and extend to describe their details. The inclusion of a key or region in a constraint is determined by first processing the included key sets, and then removing those keys defined in the excluded key sets. If no included key sets are defined, then it is assumed the all possible keys or regions are included, and any excluded key or regions are removed from this complete set.
Java class for ConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConstraintType">
<complexContent>
<extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}ConstraintBaseType">
<sequence>
<element name="ConstraintAttachment" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}ConstraintAttachmentType" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="DataKeySet" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}DataKeySetType"/>
<element name="MetadataKeySet" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}MetadataKeySetType"/>
<element name="CubeRegion" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}CubeRegionType"/>
<element name="MetadataTargetRegion" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}MetadataTargetRegionType"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constraintAttachment
protected ConstraintAttachmentType constraintAttachment
dataKeySetOrMetadataKeySetOrCubeRegion
protected List<Object> dataKeySetOrMetadataKeySetOrCubeRegion
ConstraintType
public ConstraintType()
getConstraintAttachment
public ConstraintAttachmentType getConstraintAttachment()
- Gets the value of the constraintAttachment property.
- Returns:
- possible object is
ConstraintAttachmentType
setConstraintAttachment
public void setConstraintAttachment(ConstraintAttachmentType value)
- Sets the value of the constraintAttachment property.
- Parameters:
value - allowed object is
ConstraintAttachmentType
getDataKeySetOrMetadataKeySetOrCubeRegion
public List<Object> getDataKeySetOrMetadataKeySetOrCubeRegion()
- Gets the value of the dataKeySetOrMetadataKeySetOrCubeRegion property.
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 dataKeySetOrMetadataKeySetOrCubeRegion property.
For example, to add a new item, do as follows:
getDataKeySetOrMetadataKeySetOrCubeRegion().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataKeySetType
DataKeySetType
MetadataTargetRegionType
CubeRegionType
Copyright © 2012. All Rights Reserved.