Class PtSituationElement.SecondaryReasons.Reason

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    PtSituationElement.SecondaryReasons

    public static class PtSituationElement.SecondaryReasons.Reason
    extends Object
    implements Serializable

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <group ref="{http://www.siri.org.uk/siri}ReasonGroup"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • undefinedReason

        protected String undefinedReason
      • environmentReason

        protected String environmentReason
      • equipmentReason

        protected String equipmentReason
      • personnelReason

        protected String personnelReason
      • miscellaneousReason

        protected String miscellaneousReason
      • unknownReason

        protected String unknownReason
      • environmentSubReason

        protected String environmentSubReason
      • equipmentSubReason

        protected String equipmentSubReason
      • personnelSubReason

        protected String personnelSubReason
      • miscellaneousSubReason

        protected String miscellaneousSubReason
    • Constructor Detail

      • Reason

        public Reason()
    • Method Detail

      • getUndefinedReason

        public String getUndefinedReason()
        DEPRECATED (SIRI 2.1) - use only AlertCause.
        Returns:
        possible object is String
      • setUndefinedReason

        public void setUndefinedReason​(String value)
        Sets the value of the undefinedReason property.
        Parameters:
        value - allowed object is String
      • getEnvironmentReason

        public String getEnvironmentReason()
        DEPRECATED (SIRI 2.1) - use only AlertCause.
        Returns:
        possible object is String
      • setEnvironmentReason

        public void setEnvironmentReason​(String value)
        Sets the value of the environmentReason property.
        Parameters:
        value - allowed object is String
      • getEquipmentReason

        public String getEquipmentReason()
        DEPRECATED (SIRI 2.1) - use only AlertCause.
        Returns:
        possible object is String
      • setEquipmentReason

        public void setEquipmentReason​(String value)
        Sets the value of the equipmentReason property.
        Parameters:
        value - allowed object is String
      • getPersonnelReason

        public String getPersonnelReason()
        DEPRECATED (SIRI 2.1) - use only AlertCause.
        Returns:
        possible object is String
      • setPersonnelReason

        public void setPersonnelReason​(String value)
        Sets the value of the personnelReason property.
        Parameters:
        value - allowed object is String
      • getMiscellaneousReason

        public String getMiscellaneousReason()
        DEPRECATED (SIRI 2.1) - use only AlertCause.
        Returns:
        possible object is String
      • setMiscellaneousReason

        public void setMiscellaneousReason​(String value)
        Sets the value of the miscellaneousReason property.
        Parameters:
        value - allowed object is String
      • getUnknownReason

        public String getUnknownReason()
        DEPRECATED (SIRI 2.1) - use only AlertCause.
        Returns:
        possible object is String
      • setUnknownReason

        public void setUnknownReason​(String value)
        Sets the value of the unknownReason property.
        Parameters:
        value - allowed object is String
      • getEnvironmentSubReason

        public String getEnvironmentSubReason()
        Gets the value of the environmentSubReason property.
        Returns:
        possible object is String
      • setEnvironmentSubReason

        public void setEnvironmentSubReason​(String value)
        Sets the value of the environmentSubReason property.
        Parameters:
        value - allowed object is String
      • getEquipmentSubReason

        public String getEquipmentSubReason()
        Gets the value of the equipmentSubReason property.
        Returns:
        possible object is String
      • setEquipmentSubReason

        public void setEquipmentSubReason​(String value)
        Sets the value of the equipmentSubReason property.
        Parameters:
        value - allowed object is String
      • getPersonnelSubReason

        public String getPersonnelSubReason()
        Gets the value of the personnelSubReason property.
        Returns:
        possible object is String
      • setPersonnelSubReason

        public void setPersonnelSubReason​(String value)
        Sets the value of the personnelSubReason property.
        Parameters:
        value - allowed object is String
      • getMiscellaneousSubReason

        public String getMiscellaneousSubReason()
        Gets the value of the miscellaneousSubReason property.
        Returns:
        possible object is String
      • setMiscellaneousSubReason

        public void setMiscellaneousSubReason​(String value)
        Sets the value of the miscellaneousSubReason property.
        Parameters:
        value - allowed object is String
      • setPublicEventReason

        public void setPublicEventReason​(PublicEventTypeEnum value)
        Sets the value of the publicEventReason property.
        Parameters:
        value - allowed object is PublicEventTypeEnum
      • getReasonNames

        public List<NaturalLanguageStringStructure> getReasonNames()
        Gets the value of the reasonNames 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 reasonNames property.

        For example, to add a new item, do as follows:

            getReasonNames().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguageStringStructure