Class Situation
- java.lang.Object
-
- eu.datex2.siri21.schema._2_0rc1._2_0.Situation
-
- All Implemented Interfaces:
Serializable
public class Situation extends Object implements Serializable
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_0RC1/2_0}OverallSeverityEnum" minOccurs="0"/> <element name="relatedSituation" type="{http://datex2.eu/schema/2_0RC1/2_0}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="situationVersion" type="{http://datex2.eu/schema/2_0RC1/2_0}NonNegativeInteger" minOccurs="0"/> <element name="situationVersionTime" type="{http://datex2.eu/schema/2_0RC1/2_0}DateTime" minOccurs="0"/> <element name="headerInformation" type="{http://datex2.eu/schema/2_0RC1/2_0}HeaderInformation"/> <element name="situationRecord" type="{http://datex2.eu/schema/2_0RC1/2_0}SituationRecord" maxOccurs="unbounded"/> <element name="situationExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected HeaderInformationheaderInformationprotected Stringidprotected OverallSeverityEnumoverallSeverityprotected List<String>relatedSituationsprotected ExtensionTypesituationExtensionprotected List<SituationRecord>situationRecordsprotected BigIntegersituationVersionprotected ZonedDateTimesituationVersionTime
-
Constructor Summary
Constructors Constructor Description Situation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderInformationgetHeaderInformation()Gets the value of the headerInformation property.StringgetId()Gets the value of the id property.OverallSeverityEnumgetOverallSeverity()Gets the value of the overallSeverity property.List<String>getRelatedSituations()Gets the value of the relatedSituations property.ExtensionTypegetSituationExtension()Gets the value of the situationExtension property.List<SituationRecord>getSituationRecords()Gets the value of the situationRecords property.BigIntegergetSituationVersion()Gets the value of the situationVersion property.ZonedDateTimegetSituationVersionTime()Gets the value of the situationVersionTime property.voidsetHeaderInformation(HeaderInformation value)Sets the value of the headerInformation property.voidsetId(String value)Sets the value of the id property.voidsetOverallSeverity(OverallSeverityEnum value)Sets the value of the overallSeverity property.voidsetSituationExtension(ExtensionType value)Sets the value of the situationExtension property.voidsetSituationVersion(BigInteger value)Sets the value of the situationVersion property.voidsetSituationVersionTime(ZonedDateTime value)Sets the value of the situationVersionTime property.
-
-
-
Field Detail
-
overallSeverity
protected OverallSeverityEnum overallSeverity
-
situationVersion
protected BigInteger situationVersion
-
situationVersionTime
protected ZonedDateTime situationVersionTime
-
headerInformation
protected HeaderInformation headerInformation
-
situationRecords
protected List<SituationRecord> situationRecords
-
situationExtension
protected ExtensionType situationExtension
-
id
protected String id
-
-
Method Detail
-
getOverallSeverity
public OverallSeverityEnum getOverallSeverity()
Gets the value of the overallSeverity property.- Returns:
- possible object is
OverallSeverityEnum
-
setOverallSeverity
public void setOverallSeverity(OverallSeverityEnum value)
Sets the value of the overallSeverity property.- Parameters:
value- allowed object isOverallSeverityEnum
-
getRelatedSituations
public List<String> getRelatedSituations()
Gets the value of the relatedSituations property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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
String
-
getSituationVersion
public BigInteger getSituationVersion()
Gets the value of the situationVersion property.- Returns:
- possible object is
BigInteger
-
setSituationVersion
public void setSituationVersion(BigInteger value)
Sets the value of the situationVersion property.- Parameters:
value- allowed object isBigInteger
-
getSituationVersionTime
public ZonedDateTime getSituationVersionTime()
Gets the value of the situationVersionTime property.- Returns:
- possible object is
String
-
setSituationVersionTime
public void setSituationVersionTime(ZonedDateTime value)
Sets the value of the situationVersionTime property.- Parameters:
value- allowed object isString
-
getHeaderInformation
public HeaderInformation getHeaderInformation()
Gets the value of the headerInformation property.- Returns:
- possible object is
HeaderInformation
-
setHeaderInformation
public void setHeaderInformation(HeaderInformation value)
Sets the value of the headerInformation property.- Parameters:
value- allowed object isHeaderInformation
-
getSituationRecords
public List<SituationRecord> getSituationRecords()
Gets the value of the situationRecords property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
getSituationExtension
public ExtensionType getSituationExtension()
Gets the value of the situationExtension property.- Returns:
- possible object is
ExtensionType
-
setSituationExtension
public void setSituationExtension(ExtensionType value)
Sets the value of the situationExtension property.- Parameters:
value- allowed object isExtensionType
-
-