org.sdmx.resources.sdmxml.schemas.v2_1.registry
Class ResultType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.registry.ResultType

public class ResultType
extends Object

ResultType contains the details about a data or metadata source, through the complete registration information. In addition, a reference to the content constraints for the data source may be provided, if the query requested this information.

Java class for ResultType complex type.

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

 <complexType name="ResultType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Registration" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}RegistrationType"/>
         <element name="ContentConstraint" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ContentConstraintReferenceType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ContentConstraintReferenceType> contentConstraint
           
protected  RegistrationType registration
           
 
Constructor Summary
ResultType()
           
 
Method Summary
 List<ContentConstraintReferenceType> getContentConstraint()
          Gets the value of the contentConstraint property.
 RegistrationType getRegistration()
          Gets the value of the registration property.
 void setRegistration(RegistrationType value)
          Sets the value of the registration property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registration

protected RegistrationType registration

contentConstraint

protected List<ContentConstraintReferenceType> contentConstraint
Constructor Detail

ResultType

public ResultType()
Method Detail

getRegistration

public RegistrationType getRegistration()
Gets the value of the registration property.

Returns:
possible object is RegistrationType

setRegistration

public void setRegistration(RegistrationType value)
Sets the value of the registration property.

Parameters:
value - allowed object is RegistrationType

getContentConstraint

public List<ContentConstraintReferenceType> getContentConstraint()
Gets the value of the contentConstraint 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 contentConstraint property.

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

    getContentConstraint().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.