Package uk.org.acbs.siri14
Class PassengerAccessibilityNeedsStructure
- java.lang.Object
-
- uk.org.acbs.siri14.PassengerAccessibilityNeedsStructure
-
- All Implemented Interfaces:
Serializable
public class PassengerAccessibilityNeedsStructure extends Object implements Serializable
Type for accessibility needs. Records the requirementrs of a passenger that may affect chocie of facilitiesJava class for PassengerAccessibilityNeedsStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PassengerAccessibilityNeedsStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="UserNeed" type="{http://www.ifopt.org.uk/acsb}UserNeedStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="AccompaniedByCarer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanaccompaniedByCarerprotected List<UserNeedStructure>userNeeds
-
Constructor Summary
Constructors Constructor Description PassengerAccessibilityNeedsStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserNeedStructure>getUserNeeds()Gets the value of the userNeeds property.BooleanisAccompaniedByCarer()Gets the value of the accompaniedByCarer property.voidsetAccompaniedByCarer(Boolean value)Sets the value of the accompaniedByCarer property.
-
-
-
Field Detail
-
userNeeds
protected List<UserNeedStructure> userNeeds
-
accompaniedByCarer
protected Boolean accompaniedByCarer
-
-
Method Detail
-
getUserNeeds
public List<UserNeedStructure> getUserNeeds()
Gets the value of the userNeeds 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 userNeeds property.For example, to add a new item, do as follows:
getUserNeeds().add(newItem);Objects of the following type(s) are allowed in the list
UserNeedStructure
-
isAccompaniedByCarer
public Boolean isAccompaniedByCarer()
Gets the value of the accompaniedByCarer property.- Returns:
- possible object is
Boolean
-
-