Class 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
    • Constructor Detail

      • Situation

        public Situation()
    • Method Detail

      • setOverallSeverity

        public void setOverallSeverity​(OverallSeverityEnum value)
        Sets the value of the overallSeverity property.
        Parameters:
        value - allowed object is OverallSeverityEnum
      • 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 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 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 is BigInteger
      • 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 is String
      • setHeaderInformation

        public void setHeaderInformation​(HeaderInformation value)
        Sets the value of the headerInformation property.
        Parameters:
        value - allowed object is HeaderInformation
      • 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 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

      • 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 is ExtensionType
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String