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

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

public class QuerySubscriptionResponseType
extends Object

QuerySubscriptionResponseType describes the structure of a subscription query response. A status will describe the success or failure of the request (and provide error or warning messages if necessary). If the query was successful, details of all of the organisation's subscriptions will be provided.

Java class for QuerySubscriptionResponseType complex type.

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

 <complexType name="QuerySubscriptionResponseType">
   <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="Subscription" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}SubscriptionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  StatusMessageType statusMessage
           
protected  List<SubscriptionType> subscription
           
 
Constructor Summary
QuerySubscriptionResponseType()
           
 
Method Summary
 StatusMessageType getStatusMessage()
          Gets the value of the statusMessage property.
 List<SubscriptionType> getSubscription()
          Gets the value of the subscription 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

subscription

protected List<SubscriptionType> subscription
Constructor Detail

QuerySubscriptionResponseType

public QuerySubscriptionResponseType()
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

getSubscription

public List<SubscriptionType> getSubscription()
Gets the value of the subscription 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 subscription property.

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

    getSubscription().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.