public class SituationPublication extends PayloadPublication
Java class for SituationPublication complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SituationPublication"> <complexContent> <extension base="{http://datex2.eu/schema/2/2_0}PayloadPublication"> <sequence> <element name="situation" type="{http://datex2.eu/schema/2/2_0}Situation" maxOccurs="unbounded" minOccurs="0"/> <element name="situationPublicationExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected ExtensionType |
situationPublicationExtension |
protected java.util.List<Situation> |
situations |
lang, payloadPublicationExtension, publicationCreator, publicationTime
Constructor and Description |
---|
SituationPublication() |
Modifier and Type | Method and Description |
---|---|
ExtensionType |
getSituationPublicationExtension()
Gets the value of the situationPublicationExtension property.
|
java.util.List<Situation> |
getSituations()
Gets the value of the situations property.
|
void |
setSituationPublicationExtension(ExtensionType value)
Sets the value of the situationPublicationExtension property.
|
getLang, getPayloadPublicationExtension, getPublicationCreator, getPublicationTime, setLang, setPayloadPublicationExtension, setPublicationCreator, setPublicationTime
protected java.util.List<Situation> situations
protected ExtensionType situationPublicationExtension
public java.util.List<Situation> getSituations()
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 situations property.
For example, to add a new item, do as follows:
getSituations().add(newItem);
Objects of the following type(s) are allowed in the list
Situation
public ExtensionType getSituationPublicationExtension()
ExtensionType
public void setSituationPublicationExtension(ExtensionType value)
value
- allowed object is
ExtensionType