Package uk.org.siri.siri20
Class PtSituationElement.SecondaryReasons.Reason
- java.lang.Object
-
- uk.org.siri.siri20.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 EnvironmentReasonEnumerationenvironmentReasonprotected EnvironmentSubReasonEnumerationenvironmentSubReasonprotected EquipmentReasonEnumerationequipmentReasonprotected EquipmentSubReasonEnumerationequipmentSubReasonprotected MiscellaneousReasonEnumerationmiscellaneousReasonprotected MiscellaneousSubReasonEnumerationmiscellaneousSubReasonprotected PersonnelReasonEnumerationpersonnelReasonprotected PersonnelSubReasonEnumerationpersonnelSubReasonprotected 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 EnvironmentReasonEnumerationgetEnvironmentReason()Environment reason.EnvironmentSubReasonEnumerationgetEnvironmentSubReason()Environment reason.EquipmentReasonEnumerationgetEquipmentReason()Gets the value of the equipmentReason property.EquipmentSubReasonEnumerationgetEquipmentSubReason()Gets the value of the equipmentSubReason property.MiscellaneousReasonEnumerationgetMiscellaneousReason()Gets the value of the miscellaneousReason property.MiscellaneousSubReasonEnumerationgetMiscellaneousSubReason()Gets the value of the miscellaneousSubReason property.PersonnelReasonEnumerationgetPersonnelReason()Personnel reason.PersonnelSubReasonEnumerationgetPersonnelSubReason()Personnel reason.PublicEventTypeEnumgetPublicEventReason()Gets the value of the publicEventReason property.List<NaturalLanguageStringStructure>getReasonNames()Gets the value of the reasonNames property.StringgetUndefinedReason()Gets the value of the undefinedReason property.StringgetUnknownReason()Gets the value of the unknownReason property.voidsetEnvironmentReason(EnvironmentReasonEnumeration value)Sets the value of the environmentReason property.voidsetEnvironmentSubReason(EnvironmentSubReasonEnumeration value)Sets the value of the environmentSubReason property.voidsetEquipmentReason(EquipmentReasonEnumeration value)Sets the value of the equipmentReason property.voidsetEquipmentSubReason(EquipmentSubReasonEnumeration value)Sets the value of the equipmentSubReason property.voidsetMiscellaneousReason(MiscellaneousReasonEnumeration value)Sets the value of the miscellaneousReason property.voidsetMiscellaneousSubReason(MiscellaneousSubReasonEnumeration value)Sets the value of the miscellaneousSubReason property.voidsetPersonnelReason(PersonnelReasonEnumeration value)Sets the value of the personnelReason property.voidsetPersonnelSubReason(PersonnelSubReasonEnumeration 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 EnvironmentReasonEnumeration environmentReason
-
equipmentReason
protected EquipmentReasonEnumeration equipmentReason
-
personnelReason
protected PersonnelReasonEnumeration personnelReason
-
miscellaneousReason
protected MiscellaneousReasonEnumeration miscellaneousReason
-
unknownReason
protected String unknownReason
-
environmentSubReason
protected EnvironmentSubReasonEnumeration environmentSubReason
-
equipmentSubReason
protected EquipmentSubReasonEnumeration equipmentSubReason
-
personnelSubReason
protected PersonnelSubReasonEnumeration personnelSubReason
-
miscellaneousSubReason
protected MiscellaneousSubReasonEnumeration miscellaneousSubReason
-
publicEventReason
protected PublicEventTypeEnum publicEventReason
-
reasonNames
protected List<NaturalLanguageStringStructure> reasonNames
-
-
Method Detail
-
getUndefinedReason
public String getUndefinedReason()
Gets the value of the undefinedReason property.- 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 EnvironmentReasonEnumeration getEnvironmentReason()
Environment reason.- Returns:
- possible object is
EnvironmentReasonEnumeration
-
setEnvironmentReason
public void setEnvironmentReason(EnvironmentReasonEnumeration value)
Sets the value of the environmentReason property.- Parameters:
value- allowed object isEnvironmentReasonEnumeration
-
getEquipmentReason
public EquipmentReasonEnumeration getEquipmentReason()
Gets the value of the equipmentReason property.- Returns:
- possible object is
EquipmentReasonEnumeration
-
setEquipmentReason
public void setEquipmentReason(EquipmentReasonEnumeration value)
Sets the value of the equipmentReason property.- Parameters:
value- allowed object isEquipmentReasonEnumeration
-
getPersonnelReason
public PersonnelReasonEnumeration getPersonnelReason()
Personnel reason.- Returns:
- possible object is
PersonnelReasonEnumeration
-
setPersonnelReason
public void setPersonnelReason(PersonnelReasonEnumeration value)
Sets the value of the personnelReason property.- Parameters:
value- allowed object isPersonnelReasonEnumeration
-
getMiscellaneousReason
public MiscellaneousReasonEnumeration getMiscellaneousReason()
Gets the value of the miscellaneousReason property.- Returns:
- possible object is
MiscellaneousReasonEnumeration
-
setMiscellaneousReason
public void setMiscellaneousReason(MiscellaneousReasonEnumeration value)
Sets the value of the miscellaneousReason property.- Parameters:
value- allowed object isMiscellaneousReasonEnumeration
-
getUnknownReason
public String getUnknownReason()
Gets the value of the unknownReason property.- Returns:
- possible object is
String
-
setUnknownReason
public void setUnknownReason(String value)
Sets the value of the unknownReason property.- Parameters:
value- allowed object isString
-
getEnvironmentSubReason
public EnvironmentSubReasonEnumeration getEnvironmentSubReason()
Environment reason.- Returns:
- possible object is
EnvironmentSubReasonEnumeration
-
setEnvironmentSubReason
public void setEnvironmentSubReason(EnvironmentSubReasonEnumeration value)
Sets the value of the environmentSubReason property.- Parameters:
value- allowed object isEnvironmentSubReasonEnumeration
-
getEquipmentSubReason
public EquipmentSubReasonEnumeration getEquipmentSubReason()
Gets the value of the equipmentSubReason property.- Returns:
- possible object is
EquipmentSubReasonEnumeration
-
setEquipmentSubReason
public void setEquipmentSubReason(EquipmentSubReasonEnumeration value)
Sets the value of the equipmentSubReason property.- Parameters:
value- allowed object isEquipmentSubReasonEnumeration
-
getPersonnelSubReason
public PersonnelSubReasonEnumeration getPersonnelSubReason()
Personnel reason.- Returns:
- possible object is
PersonnelSubReasonEnumeration
-
setPersonnelSubReason
public void setPersonnelSubReason(PersonnelSubReasonEnumeration value)
Sets the value of the personnelSubReason property.- Parameters:
value- allowed object isPersonnelSubReasonEnumeration
-
getMiscellaneousSubReason
public MiscellaneousSubReasonEnumeration getMiscellaneousSubReason()
Gets the value of the miscellaneousSubReason property.- Returns:
- possible object is
MiscellaneousSubReasonEnumeration
-
setMiscellaneousSubReason
public void setMiscellaneousSubReason(MiscellaneousSubReasonEnumeration value)
Sets the value of the miscellaneousSubReason property.- Parameters:
value- allowed object isMiscellaneousSubReasonEnumeration
-
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
-
-