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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.StatusMessageType
Direct Known Subclasses:
CodedStatusMessageType

public class StatusMessageType
extends Object

StatusMessageType describes the structure of an error or warning message. A message contains the text of the message, as well as an optional language indicator and an optional code.

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="Text" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}TextType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String code
           
protected  List<TextType> text
           
 
Constructor Summary
StatusMessageType()
           
 
Method Summary
 String getCode()
          Gets the value of the code property.
 List<TextType> getText()
          Gets the value of the text property.
 void setCode(String value)
          Sets the value of the code property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected List<TextType> text

code

protected String code
Constructor Detail

StatusMessageType

public StatusMessageType()
Method Detail

getText

public List<TextType> getText()
Gets the value of the text 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 text property.

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

    getText().add(newItem);
 

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


getCode

public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.