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

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

public class QueryRegistrationResponseType
extends Object

QueryRegistrationResponseType describes the structure of a registration query response. It provides a status for the request, and if successful, the resulting data and/or metadata results.

Java class for QueryRegistrationResponseType complex type.

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

 <complexType name="QueryRegistrationResponseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="StatusMessage" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}StatusMessageType"/>
         <element name="QueryResult" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}QueryResultType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<QueryResultType> queryResult
           
protected  StatusMessageType statusMessage
           
 
Constructor Summary
QueryRegistrationResponseType()
           
 
Method Summary
 List<QueryResultType> getQueryResult()
          Gets the value of the queryResult property.
 StatusMessageType getStatusMessage()
          Gets the value of the statusMessage property.
 void setStatusMessage(StatusMessageType value)
          Sets the value of the statusMessage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statusMessage

protected StatusMessageType statusMessage

queryResult

protected List<QueryResultType> queryResult
Constructor Detail

QueryRegistrationResponseType

public QueryRegistrationResponseType()
Method Detail

getStatusMessage

public StatusMessageType getStatusMessage()
Gets the value of the statusMessage property.

Returns:
possible object is StatusMessageType

setStatusMessage

public void setStatusMessage(StatusMessageType value)
Sets the value of the statusMessage property.

Parameters:
value - allowed object is StatusMessageType

getQueryResult

public List<QueryResultType> getQueryResult()
Gets the value of the queryResult 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 queryResult property.

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

    getQueryResult().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.