|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.StatusMessageType
public class StatusMessageType
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 |
|---|
protected List<TextType> text
protected String code
| Constructor Detail |
|---|
public StatusMessageType()
| Method Detail |
|---|
public List<TextType> getText()
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
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||