org.sdmx.resources.sdmxml.schemas.v2_1.structure
Class ConstraintsType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.ConstraintsType

public class ConstraintsType
extends Object

ConstraintsType describes the structure of the constraints container. It contains one or more constraint, which can be explicitly detailed or referenced from an external structure document or registry service. This container may contain both attachment and content constraints.

Java class for ConstraintsType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ConstraintsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="AttachmentConstraint" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}AttachmentConstraintType"/>
         <element name="ContentConstraint" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}ContentConstraintType"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ConstraintType> attachmentConstraintOrContentConstraint
           
 
Constructor Summary
ConstraintsType()
           
 
Method Summary
 List<ConstraintType> getAttachmentConstraintOrContentConstraint()
          Gets the value of the attachmentConstraintOrContentConstraint property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachmentConstraintOrContentConstraint

protected List<ConstraintType> attachmentConstraintOrContentConstraint
Constructor Detail

ConstraintsType

public ConstraintsType()
Method Detail

getAttachmentConstraintOrContentConstraint

public List<ConstraintType> getAttachmentConstraintOrContentConstraint()
Gets the value of the attachmentConstraintOrContentConstraint 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 attachmentConstraintOrContentConstraint property.

For example, to add a new item, do as follows:

    getAttachmentConstraintOrContentConstraint().add(newItem);
 

Objects of the following type(s) are allowed in the list AttachmentConstraintType ContentConstraintType



Copyright © 2012. All Rights Reserved.