public class Situation
extends java.lang.Object
Java class for Situation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Situation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="relatedSituation" type="{http://datex2.eu/schema/2/2_0}_SituationVersionedReference" maxOccurs="unbounded" minOccurs="0"/> <element name="situationVersionTime" type="{http://datex2.eu/schema/2/2_0}DateTime" minOccurs="0"/> <element name="headerInformation" type="{http://datex2.eu/schema/2/2_0}HeaderInformation"/> <element name="situationRecord" type="{http://datex2.eu/schema/2/2_0}SituationRecord" maxOccurs="unbounded"/> <element name="situationExtension" type="{http://datex2.eu/schema/2/2_0}_SituationExtensionType" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected HeaderInformation |
headerInformation |
protected java.lang.String |
id |
protected java.util.List<SituationVersionedReference> |
relatedSituations |
protected SituationExtensionType |
situationExtension |
protected java.util.List<SituationRecord> |
situationRecords |
protected javax.xml.datatype.XMLGregorianCalendar |
situationVersionTime |
protected java.lang.String |
version |
Constructor and Description |
---|
Situation() |
Modifier and Type | Method and Description |
---|---|
HeaderInformation |
getHeaderInformation()
Gets the value of the headerInformation property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<SituationVersionedReference> |
getRelatedSituations()
Gets the value of the relatedSituations property.
|
SituationExtensionType |
getSituationExtension()
Gets the value of the situationExtension property.
|
java.util.List<SituationRecord> |
getSituationRecords()
Gets the value of the situationRecords property.
|
javax.xml.datatype.XMLGregorianCalendar |
getSituationVersionTime()
Gets the value of the situationVersionTime property.
|
java.lang.String |
getVersion()
Gets the value of the version property.
|
void |
setHeaderInformation(HeaderInformation value)
Sets the value of the headerInformation property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setSituationExtension(SituationExtensionType value)
Sets the value of the situationExtension property.
|
void |
setSituationVersionTime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the situationVersionTime property.
|
void |
setVersion(java.lang.String value)
Sets the value of the version property.
|
protected java.util.List<SituationVersionedReference> relatedSituations
protected javax.xml.datatype.XMLGregorianCalendar situationVersionTime
protected HeaderInformation headerInformation
protected java.util.List<SituationRecord> situationRecords
protected SituationExtensionType situationExtension
protected java.lang.String id
protected java.lang.String version
public java.util.List<SituationVersionedReference> getRelatedSituations()
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 relatedSituations property.
For example, to add a new item, do as follows:
getRelatedSituations().add(newItem);
Objects of the following type(s) are allowed in the list
SituationVersionedReference
public javax.xml.datatype.XMLGregorianCalendar getSituationVersionTime()
XMLGregorianCalendar
public void setSituationVersionTime(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public HeaderInformation getHeaderInformation()
HeaderInformation
public void setHeaderInformation(HeaderInformation value)
value
- allowed object is
HeaderInformation
public java.util.List<SituationRecord> getSituationRecords()
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 situationRecords property.
For example, to add a new item, do as follows:
getSituationRecords().add(newItem);
Objects of the following type(s) are allowed in the list
SituationRecord
public SituationExtensionType getSituationExtension()
SituationExtensionType
public void setSituationExtension(SituationExtensionType value)
value
- allowed object is
SituationExtensionType
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is
String