Package uk.org.siri.siri14
Class PtSituationElement.SecondaryReasons
- java.lang.Object
-
- uk.org.siri.siri14.PtSituationElement.SecondaryReasons
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PtSituationElement
public static class PtSituationElement.SecondaryReasons 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 maxOccurs="unbounded"> <element name="Reason"> <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> </element> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPtSituationElement.SecondaryReasons.ReasonJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<PtSituationElement.SecondaryReasons.Reason>reasons
-
Constructor Summary
Constructors Constructor Description SecondaryReasons()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PtSituationElement.SecondaryReasons.Reason>getReasons()Gets the value of the reasons property.
-
-
-
Field Detail
-
reasons
protected List<PtSituationElement.SecondaryReasons.Reason> reasons
-
-
Method Detail
-
getReasons
public List<PtSituationElement.SecondaryReasons.Reason> getReasons()
Gets the value of the reasons 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
setmethod for the reasons property.For example, to add a new item, do as follows:
getReasons().add(newItem);Objects of the following type(s) are allowed in the list
PtSituationElement.SecondaryReasons.Reason
-
-