public class Situation extends 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="overallSeverity" type="{http://datex2.eu/schema/2/2_0}SeverityEnum" minOccurs="0"/>
<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}_ExtensionType" 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 String |
id |
protected SeverityEnum |
overallSeverity |
protected List<SituationVersionedReference> |
relatedSituation |
protected ExtensionType |
situationExtension |
protected List<SituationRecord> |
situationRecord |
protected Calendar |
situationVersionTime |
protected String |
version |
| Constructor and Description |
|---|
Situation() |
| Modifier and Type | Method and Description |
|---|---|
HeaderInformation |
getHeaderInformation()
Gets the value of the headerInformation property.
|
String |
getId()
Gets the value of the id property.
|
SeverityEnum |
getOverallSeverity()
Gets the value of the overallSeverity property.
|
List<SituationVersionedReference> |
getRelatedSituation()
Gets the value of the relatedSituation property.
|
ExtensionType |
getSituationExtension()
Gets the value of the situationExtension property.
|
List<SituationRecord> |
getSituationRecord()
Gets the value of the situationRecord property.
|
Calendar |
getSituationVersionTime()
Gets the value of the situationVersionTime property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setHeaderInformation(HeaderInformation value)
Sets the value of the headerInformation property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setOverallSeverity(SeverityEnum value)
Sets the value of the overallSeverity property.
|
void |
setSituationExtension(ExtensionType value)
Sets the value of the situationExtension property.
|
void |
setSituationVersionTime(Calendar value)
Sets the value of the situationVersionTime property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected SeverityEnum overallSeverity
protected List<SituationVersionedReference> relatedSituation
protected Calendar situationVersionTime
protected HeaderInformation headerInformation
protected List<SituationRecord> situationRecord
protected ExtensionType situationExtension
protected String id
protected String version
public SeverityEnum getOverallSeverity()
SeverityEnumpublic void setOverallSeverity(SeverityEnum value)
value - allowed object is
SeverityEnumpublic List<SituationVersionedReference> getRelatedSituation()
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 relatedSituation property.
For example, to add a new item, do as follows:
getRelatedSituation().add(newItem);
Objects of the following type(s) are allowed in the list
SituationVersionedReference
public Calendar getSituationVersionTime()
Stringpublic void setSituationVersionTime(Calendar value)
value - allowed object is
Stringpublic HeaderInformation getHeaderInformation()
HeaderInformationpublic void setHeaderInformation(HeaderInformation value)
value - allowed object is
HeaderInformationpublic List<SituationRecord> getSituationRecord()
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 situationRecord property.
For example, to add a new item, do as follows:
getSituationRecord().add(newItem);
Objects of the following type(s) are allowed in the list
SituationRecord
public ExtensionType getSituationExtension()
ExtensionTypepublic void setSituationExtension(ExtensionType value)
value - allowed object is
ExtensionTypepublic void setId(String value)
value - allowed object is
Stringpublic String getVersion()
StringCopyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.