Package uk.org.siri.siri21
Class PtSituationElement.SecondaryReasons.Reason
- java.lang.Object
-
- uk.org.siri.siri21.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 Summary
Fields Modifier and Type Field Description protected AlertCauseEnumerationalertCauseprotected StringenvironmentReasonprotected StringenvironmentSubReasonprotected StringequipmentReasonprotected StringequipmentSubReasonprotected StringmiscellaneousReasonprotected StringmiscellaneousSubReasonprotected StringpersonnelReasonprotected StringpersonnelSubReasonprotected PublicEventTypeEnumpublicEventReasonprotected List<NaturalLanguageStringStructure>reasonNamesprotected StringundefinedReasonprotected StringunknownReason
-
Constructor Summary
Constructors Constructor Description Reason()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertCauseEnumerationgetAlertCause()Gets the value of the alertCause property.StringgetEnvironmentReason()DEPRECATED (SIRI 2.1) - use only AlertCause.StringgetEnvironmentSubReason()Gets the value of the environmentSubReason property.StringgetEquipmentReason()DEPRECATED (SIRI 2.1) - use only AlertCause.StringgetEquipmentSubReason()Gets the value of the equipmentSubReason property.StringgetMiscellaneousReason()DEPRECATED (SIRI 2.1) - use only AlertCause.StringgetMiscellaneousSubReason()Gets the value of the miscellaneousSubReason property.StringgetPersonnelReason()DEPRECATED (SIRI 2.1) - use only AlertCause.StringgetPersonnelSubReason()Gets the value of the personnelSubReason property.PublicEventTypeEnumgetPublicEventReason()Gets the value of the publicEventReason property.List<NaturalLanguageStringStructure>getReasonNames()Gets the value of the reasonNames property.StringgetUndefinedReason()DEPRECATED (SIRI 2.1) - use only AlertCause.StringgetUnknownReason()DEPRECATED (SIRI 2.1) - use only AlertCause.voidsetAlertCause(AlertCauseEnumeration value)Sets the value of the alertCause property.voidsetEnvironmentReason(String value)Sets the value of the environmentReason property.voidsetEnvironmentSubReason(String value)Sets the value of the environmentSubReason property.voidsetEquipmentReason(String value)Sets the value of the equipmentReason property.voidsetEquipmentSubReason(String value)Sets the value of the equipmentSubReason property.voidsetMiscellaneousReason(String value)Sets the value of the miscellaneousReason property.voidsetMiscellaneousSubReason(String value)Sets the value of the miscellaneousSubReason property.voidsetPersonnelReason(String value)Sets the value of the personnelReason property.voidsetPersonnelSubReason(String value)Sets the value of the personnelSubReason property.voidsetPublicEventReason(PublicEventTypeEnum value)Sets the value of the publicEventReason property.voidsetUndefinedReason(String value)Sets the value of the undefinedReason property.voidsetUnknownReason(String value)Sets the value of the unknownReason property.
-
-
-
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
-
alertCause
protected AlertCauseEnumeration alertCause
-
environmentSubReason
protected String environmentSubReason
-
equipmentSubReason
protected String equipmentSubReason
-
personnelSubReason
protected String personnelSubReason
-
miscellaneousSubReason
protected String miscellaneousSubReason
-
publicEventReason
protected PublicEventTypeEnum publicEventReason
-
reasonNames
protected List<NaturalLanguageStringStructure> reasonNames
-
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
getAlertCause
public AlertCauseEnumeration getAlertCause()
Gets the value of the alertCause property.- Returns:
- possible object is
AlertCauseEnumeration
-
setAlertCause
public void setAlertCause(AlertCauseEnumeration value)
Sets the value of the alertCause property.- Parameters:
value- allowed object isAlertCauseEnumeration
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
getPublicEventReason
public PublicEventTypeEnum getPublicEventReason()
Gets the value of the publicEventReason property.- Returns:
- possible object is
PublicEventTypeEnum
-
setPublicEventReason
public void setPublicEventReason(PublicEventTypeEnum value)
Sets the value of the publicEventReason property.- Parameters:
value- allowed object isPublicEventTypeEnum
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
-