|
||||||||||
| 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.common.ConstraintType
public class ConstraintType
Constraint specifies the object to which constraints are attached. Note that if the constraint is that for a Data Provider, then only ReleaseCalendar information is relevant, as there is no reliable way of determining which key family is being used to frame constraints in terms of cube regions or key sets. ReferencePeriod is used to report start date and end date constraints. MetadataConceptSet allows for conten t constraints to be described for metadata sets.
Java class for ConstraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConstraintType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ConstraintID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
<element name="CubeRegion" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}CubeRegionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="MetadataConceptSet" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}MetadataConceptSetType" minOccurs="0"/>
<element name="KeySet" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}KeySetType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ReleaseCalendar" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ReleaseCalendarType" minOccurs="0"/>
<element name="ReferencePeriod" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ReferencePeriodType" minOccurs="0"/>
</sequence>
<attribute name="ConstraintType" use="required" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ConstraintTypeType" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
constraintID
|
protected ConstraintTypeType |
constraintType
|
protected List<CubeRegionType> |
cubeRegion
|
protected List<KeySetType> |
keySet
|
protected MetadataConceptSetType |
metadataConceptSet
|
protected ReferencePeriodType |
referencePeriod
|
protected ReleaseCalendarType |
releaseCalendar
|
| Constructor Summary | |
|---|---|
ConstraintType()
|
|
| Method Summary | |
|---|---|
String |
getConstraintID()
Gets the value of the constraintID property. |
ConstraintTypeType |
getConstraintType()
Gets the value of the constraintType property. |
List<CubeRegionType> |
getCubeRegion()
Gets the value of the cubeRegion property. |
List<KeySetType> |
getKeySet()
Gets the value of the keySet property. |
MetadataConceptSetType |
getMetadataConceptSet()
Gets the value of the metadataConceptSet property. |
ReferencePeriodType |
getReferencePeriod()
Gets the value of the referencePeriod property. |
ReleaseCalendarType |
getReleaseCalendar()
Gets the value of the releaseCalendar property. |
void |
setConstraintID(String value)
Sets the value of the constraintID property. |
void |
setConstraintType(ConstraintTypeType value)
Sets the value of the constraintType property. |
void |
setMetadataConceptSet(MetadataConceptSetType value)
Sets the value of the metadataConceptSet property. |
void |
setReferencePeriod(ReferencePeriodType value)
Sets the value of the referencePeriod property. |
void |
setReleaseCalendar(ReleaseCalendarType value)
Sets the value of the releaseCalendar property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String constraintID
protected List<CubeRegionType> cubeRegion
protected MetadataConceptSetType metadataConceptSet
protected List<KeySetType> keySet
protected ReleaseCalendarType releaseCalendar
protected ReferencePeriodType referencePeriod
protected ConstraintTypeType constraintType
| Constructor Detail |
|---|
public ConstraintType()
| Method Detail |
|---|
public String getConstraintID()
Stringpublic void setConstraintID(String value)
value - allowed object is
Stringpublic List<CubeRegionType> getCubeRegion()
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 cubeRegion property.
For example, to add a new item, do as follows:
getCubeRegion().add(newItem);
Objects of the following type(s) are allowed in the list
CubeRegionType
public MetadataConceptSetType getMetadataConceptSet()
MetadataConceptSetTypepublic void setMetadataConceptSet(MetadataConceptSetType value)
value - allowed object is
MetadataConceptSetTypepublic List<KeySetType> getKeySet()
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 keySet property.
For example, to add a new item, do as follows:
getKeySet().add(newItem);
Objects of the following type(s) are allowed in the list
KeySetType
public ReleaseCalendarType getReleaseCalendar()
ReleaseCalendarTypepublic void setReleaseCalendar(ReleaseCalendarType value)
value - allowed object is
ReleaseCalendarTypepublic ReferencePeriodType getReferencePeriod()
ReferencePeriodTypepublic void setReferencePeriod(ReferencePeriodType value)
value - allowed object is
ReferencePeriodTypepublic ConstraintTypeType getConstraintType()
ConstraintTypeTypepublic void setConstraintType(ConstraintTypeType value)
value - allowed object is
ConstraintTypeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||