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

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

public class StatusMessageType
extends Object

StatusMessageType carries the text of error messages and/or warnings in response to queries or requests.

Java class for StatusMessageType complex type.

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

 <complexType name="StatusMessageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="MessageText" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}StatusMessageType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="status" use="required" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}StatusType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<StatusMessageType> messageText
           
protected  StatusType status
           
 
Constructor Summary
StatusMessageType()
           
 
Method Summary
 List<StatusMessageType> getMessageText()
          Gets the value of the messageText property.
 StatusType getStatus()
          Gets the value of the status property.
 void setStatus(StatusType value)
          Sets the value of the status property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messageText

protected List<StatusMessageType> messageText

status

protected StatusType status
Constructor Detail

StatusMessageType

public StatusMessageType()
Method Detail

getMessageText

public List<StatusMessageType> getMessageText()
Gets the value of the messageText 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 messageText property.

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

    getMessageText().add(newItem);
 

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


getStatus

public StatusType getStatus()
Gets the value of the status property.

Returns:
possible object is StatusType

setStatus

public void setStatus(StatusType value)
Sets the value of the status property.

Parameters:
value - allowed object is StatusType


Copyright © 2012. All Rights Reserved.