public class GetCurrentMessage extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Topic" type="{http://docs.oasis-open.org/wsn/b-2}TopicExpressionType"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected TopicExpressionType |
topic |
| Constructor and Description |
|---|
GetCurrentMessage() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
TopicExpressionType |
getTopic()
Gets the value of the topic property.
|
void |
setTopic(TopicExpressionType value)
Sets the value of the topic property.
|
protected TopicExpressionType topic
public TopicExpressionType getTopic()
TopicExpressionTypepublic void setTopic(TopicExpressionType value)
value - allowed object is
TopicExpressionTypepublic 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
Element
Apache CXF