org.sdmx.resources.sdmxml.schemas.v2_1.message
Class ErrorType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.message.ErrorType

public class ErrorType
extends Object

ErrorType describes the structure of an error response.

Java class for ErrorType complex type.

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

 <complexType name="ErrorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ErrorMessage" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}CodedStatusMessageType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<CodedStatusMessageType> errorMessage
           
 
Constructor Summary
ErrorType()
           
 
Method Summary
 List<CodedStatusMessageType> getErrorMessage()
          Gets the value of the errorMessage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorMessage

protected List<CodedStatusMessageType> errorMessage
Constructor Detail

ErrorType

public ErrorType()
Method Detail

getErrorMessage

public List<CodedStatusMessageType> getErrorMessage()
Gets the value of the errorMessage 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 errorMessage property.

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

    getErrorMessage().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.