|
||||||||||
| 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.message.MessageType
public abstract class MessageType
MessageType is an abstract type which is used by all of the messages, to allow inheritance of common features. Every message consists of a mandatory header, followed by optional payload (which may occur multiple times), and finally an optional footer section for conveying error, warning, and informational messages.
Java class for MessageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Header" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message}BaseHeaderType"/>
<any namespace='http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message' maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer}Footer" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Object> |
any
|
protected FooterType |
footer
|
protected BaseHeaderType |
header
|
| Constructor Summary | |
|---|---|
MessageType()
|
|
| Method Summary | |
|---|---|
List<Object> |
getAny()
Gets the value of the any property. |
FooterType |
getFooter()
Gets the value of the footer property. |
BaseHeaderType |
getHeader()
Gets the value of the header property. |
void |
setFooter(FooterType value)
Sets the value of the footer property. |
void |
setHeader(BaseHeaderType value)
Sets the value of the header property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BaseHeaderType header
protected List<Object> any
protected FooterType footer
| Constructor Detail |
|---|
public MessageType()
| Method Detail |
|---|
public BaseHeaderType getHeader()
BaseHeaderTypepublic void setHeader(BaseHeaderType value)
value - allowed object is
BaseHeaderTypepublic List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public FooterType getFooter()
FooterTypepublic void setFooter(FooterType value)
value - allowed object is
FooterType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||