Class SituationPublication

  • All Implemented Interfaces:
    Serializable

    public class SituationPublication
    extends PayloadPublication
    implements Serializable

    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_0RC1/2_0}PayloadPublication">
           <sequence>
             <element name="situation" type="{http://datex2.eu/schema/2_0RC1/2_0}Situation" maxOccurs="unbounded" minOccurs="0"/>
             <element name="situationPublicationExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • situationPublicationExtension

        protected ExtensionType situationPublicationExtension
    • Constructor Detail

      • SituationPublication

        public SituationPublication()
    • Method Detail

      • getSituations

        public List<Situation> getSituations()
        Gets the value of the situations 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 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

      • getSituationPublicationExtension

        public ExtensionType getSituationPublicationExtension()
        Gets the value of the situationPublicationExtension property.
        Returns:
        possible object is ExtensionType
      • setSituationPublicationExtension

        public void setSituationPublicationExtension​(ExtensionType value)
        Sets the value of the situationPublicationExtension property.
        Parameters:
        value - allowed object is ExtensionType