Package uk.org.siri.siri21
Class VehicleOccupancyStructure
- java.lang.Object
-
- uk.org.siri.siri21.VehicleOccupancyStructure
-
- All Implemented Interfaces:
Serializable
public class VehicleOccupancyStructure extends Object implements Serializable
Real-time occupancies of a VEHICLE (by fare class). Could be feedback from an automatic passenger counting system (APC) or estimated values from statistics. +SIRI v2.1Java class for VehicleOccupancyStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VehicleOccupancyStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.siri.org.uk/siri}OccupancyScopeFilterGroup"/> <group ref="{http://www.siri.org.uk/siri}OccupancyValuesGroup"/> <element name="TotalNumberOfReservedSeats" type="{http://www.siri.org.uk/siri}NumberOfPassengers"/> <element name="GroupReservation" type="{http://www.siri.org.uk/siri}GroupReservationStructure" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegeralightingCountprotected BigIntegerbicycleOnboardCountprotected BigIntegerboardingCountprotected CompoundTrainRefcompoundTrainRefprotected EntranceToVehicleRefentranceToVehicleRefprotected FareClassEnumerationfareClassprotected List<GroupReservationStructure>groupReservationsprotected OccupancyEnumerationoccupancyLevelprotected BigDecimaloccupancyPercentageprotected BigIntegeronboardCountprotected NaturalLanguageStringStructurepassengerCategoryprotected BigIntegerpramsOnboardCountprotected BigIntegerpushchairsOnboardCountprotected BigIntegerspecialPlacesOccupiedprotected BigIntegertotalNumberOfReservedSeatsprotected TrainComponentReftrainComponentRefprotected TrainReftrainRefprotected BigIntegerwheelchairsOnboardCount
-
Constructor Summary
Constructors Constructor Description VehicleOccupancyStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetAlightingCount()Gets the value of the alightingCount property.BigIntegergetBicycleOnboardCount()Gets the value of the bicycleOnboardCount property.BigIntegergetBoardingCount()Gets the value of the boardingCount property.CompoundTrainRefgetCompoundTrainRef()Gets the value of the compoundTrainRef property.EntranceToVehicleRefgetEntranceToVehicleRef()Gets the value of the entranceToVehicleRef property.FareClassEnumerationgetFareClass()Gets the value of the fareClass property.List<GroupReservationStructure>getGroupReservations()Gets the value of the groupReservations property.OccupancyEnumerationgetOccupancyLevel()Gets the value of the occupancyLevel property.BigDecimalgetOccupancyPercentage()Gets the value of the occupancyPercentage property.BigIntegergetOnboardCount()Gets the value of the onboardCount property.NaturalLanguageStringStructuregetPassengerCategory()Gets the value of the passengerCategory property.BigIntegergetPramsOnboardCount()Gets the value of the pramsOnboardCount property.BigIntegergetPushchairsOnboardCount()Gets the value of the pushchairsOnboardCount property.BigIntegergetSpecialPlacesOccupied()Gets the value of the specialPlacesOccupied property.BigIntegergetTotalNumberOfReservedSeats()Gets the value of the totalNumberOfReservedSeats property.TrainComponentRefgetTrainComponentRef()Gets the value of the trainComponentRef property.TrainRefgetTrainRef()Gets the value of the trainRef property.BigIntegergetWheelchairsOnboardCount()Gets the value of the wheelchairsOnboardCount property.voidsetAlightingCount(BigInteger value)Sets the value of the alightingCount property.voidsetBicycleOnboardCount(BigInteger value)Sets the value of the bicycleOnboardCount property.voidsetBoardingCount(BigInteger value)Sets the value of the boardingCount property.voidsetCompoundTrainRef(CompoundTrainRef value)Sets the value of the compoundTrainRef property.voidsetEntranceToVehicleRef(EntranceToVehicleRef value)Sets the value of the entranceToVehicleRef property.voidsetFareClass(FareClassEnumeration value)Sets the value of the fareClass property.voidsetOccupancyLevel(OccupancyEnumeration value)Sets the value of the occupancyLevel property.voidsetOccupancyPercentage(BigDecimal value)Sets the value of the occupancyPercentage property.voidsetOnboardCount(BigInteger value)Sets the value of the onboardCount property.voidsetPassengerCategory(NaturalLanguageStringStructure value)Sets the value of the passengerCategory property.voidsetPramsOnboardCount(BigInteger value)Sets the value of the pramsOnboardCount property.voidsetPushchairsOnboardCount(BigInteger value)Sets the value of the pushchairsOnboardCount property.voidsetSpecialPlacesOccupied(BigInteger value)Sets the value of the specialPlacesOccupied property.voidsetTotalNumberOfReservedSeats(BigInteger value)Sets the value of the totalNumberOfReservedSeats property.voidsetTrainComponentRef(TrainComponentRef value)Sets the value of the trainComponentRef property.voidsetTrainRef(TrainRef value)Sets the value of the trainRef property.voidsetWheelchairsOnboardCount(BigInteger value)Sets the value of the wheelchairsOnboardCount property.
-
-
-
Field Detail
-
compoundTrainRef
protected CompoundTrainRef compoundTrainRef
-
trainRef
protected TrainRef trainRef
-
trainComponentRef
protected TrainComponentRef trainComponentRef
-
entranceToVehicleRef
protected EntranceToVehicleRef entranceToVehicleRef
-
fareClass
protected FareClassEnumeration fareClass
-
passengerCategory
protected NaturalLanguageStringStructure passengerCategory
-
occupancyLevel
protected OccupancyEnumeration occupancyLevel
-
occupancyPercentage
protected BigDecimal occupancyPercentage
-
alightingCount
protected BigInteger alightingCount
-
boardingCount
protected BigInteger boardingCount
-
onboardCount
protected BigInteger onboardCount
-
specialPlacesOccupied
protected BigInteger specialPlacesOccupied
-
pushchairsOnboardCount
protected BigInteger pushchairsOnboardCount
-
wheelchairsOnboardCount
protected BigInteger wheelchairsOnboardCount
-
pramsOnboardCount
protected BigInteger pramsOnboardCount
-
bicycleOnboardCount
protected BigInteger bicycleOnboardCount
-
totalNumberOfReservedSeats
protected BigInteger totalNumberOfReservedSeats
-
groupReservations
protected List<GroupReservationStructure> groupReservations
-
-
Method Detail
-
getCompoundTrainRef
public CompoundTrainRef getCompoundTrainRef()
Gets the value of the compoundTrainRef property.- Returns:
- possible object is
CompoundTrainRef
-
setCompoundTrainRef
public void setCompoundTrainRef(CompoundTrainRef value)
Sets the value of the compoundTrainRef property.- Parameters:
value- allowed object isCompoundTrainRef
-
getTrainRef
public TrainRef getTrainRef()
Gets the value of the trainRef property.- Returns:
- possible object is
TrainRef
-
setTrainRef
public void setTrainRef(TrainRef value)
Sets the value of the trainRef property.- Parameters:
value- allowed object isTrainRef
-
getTrainComponentRef
public TrainComponentRef getTrainComponentRef()
Gets the value of the trainComponentRef property.- Returns:
- possible object is
TrainComponentRef
-
setTrainComponentRef
public void setTrainComponentRef(TrainComponentRef value)
Sets the value of the trainComponentRef property.- Parameters:
value- allowed object isTrainComponentRef
-
getEntranceToVehicleRef
public EntranceToVehicleRef getEntranceToVehicleRef()
Gets the value of the entranceToVehicleRef property.- Returns:
- possible object is
EntranceToVehicleRef
-
setEntranceToVehicleRef
public void setEntranceToVehicleRef(EntranceToVehicleRef value)
Sets the value of the entranceToVehicleRef property.- Parameters:
value- allowed object isEntranceToVehicleRef
-
getFareClass
public FareClassEnumeration getFareClass()
Gets the value of the fareClass property.- Returns:
- possible object is
FareClassEnumeration
-
setFareClass
public void setFareClass(FareClassEnumeration value)
Sets the value of the fareClass property.- Parameters:
value- allowed object isFareClassEnumeration
-
getPassengerCategory
public NaturalLanguageStringStructure getPassengerCategory()
Gets the value of the passengerCategory property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setPassengerCategory
public void setPassengerCategory(NaturalLanguageStringStructure value)
Sets the value of the passengerCategory property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
getOccupancyLevel
public OccupancyEnumeration getOccupancyLevel()
Gets the value of the occupancyLevel property.- Returns:
- possible object is
OccupancyEnumeration
-
setOccupancyLevel
public void setOccupancyLevel(OccupancyEnumeration value)
Sets the value of the occupancyLevel property.- Parameters:
value- allowed object isOccupancyEnumeration
-
getOccupancyPercentage
public BigDecimal getOccupancyPercentage()
Gets the value of the occupancyPercentage property.- Returns:
- possible object is
BigDecimal
-
setOccupancyPercentage
public void setOccupancyPercentage(BigDecimal value)
Sets the value of the occupancyPercentage property.- Parameters:
value- allowed object isBigDecimal
-
getAlightingCount
public BigInteger getAlightingCount()
Gets the value of the alightingCount property.- Returns:
- possible object is
BigInteger
-
setAlightingCount
public void setAlightingCount(BigInteger value)
Sets the value of the alightingCount property.- Parameters:
value- allowed object isBigInteger
-
getBoardingCount
public BigInteger getBoardingCount()
Gets the value of the boardingCount property.- Returns:
- possible object is
BigInteger
-
setBoardingCount
public void setBoardingCount(BigInteger value)
Sets the value of the boardingCount property.- Parameters:
value- allowed object isBigInteger
-
getOnboardCount
public BigInteger getOnboardCount()
Gets the value of the onboardCount property.- Returns:
- possible object is
BigInteger
-
setOnboardCount
public void setOnboardCount(BigInteger value)
Sets the value of the onboardCount property.- Parameters:
value- allowed object isBigInteger
-
getSpecialPlacesOccupied
public BigInteger getSpecialPlacesOccupied()
Gets the value of the specialPlacesOccupied property.- Returns:
- possible object is
BigInteger
-
setSpecialPlacesOccupied
public void setSpecialPlacesOccupied(BigInteger value)
Sets the value of the specialPlacesOccupied property.- Parameters:
value- allowed object isBigInteger
-
getPushchairsOnboardCount
public BigInteger getPushchairsOnboardCount()
Gets the value of the pushchairsOnboardCount property.- Returns:
- possible object is
BigInteger
-
setPushchairsOnboardCount
public void setPushchairsOnboardCount(BigInteger value)
Sets the value of the pushchairsOnboardCount property.- Parameters:
value- allowed object isBigInteger
-
getWheelchairsOnboardCount
public BigInteger getWheelchairsOnboardCount()
Gets the value of the wheelchairsOnboardCount property.- Returns:
- possible object is
BigInteger
-
setWheelchairsOnboardCount
public void setWheelchairsOnboardCount(BigInteger value)
Sets the value of the wheelchairsOnboardCount property.- Parameters:
value- allowed object isBigInteger
-
getPramsOnboardCount
public BigInteger getPramsOnboardCount()
Gets the value of the pramsOnboardCount property.- Returns:
- possible object is
BigInteger
-
setPramsOnboardCount
public void setPramsOnboardCount(BigInteger value)
Sets the value of the pramsOnboardCount property.- Parameters:
value- allowed object isBigInteger
-
getBicycleOnboardCount
public BigInteger getBicycleOnboardCount()
Gets the value of the bicycleOnboardCount property.- Returns:
- possible object is
BigInteger
-
setBicycleOnboardCount
public void setBicycleOnboardCount(BigInteger value)
Sets the value of the bicycleOnboardCount property.- Parameters:
value- allowed object isBigInteger
-
getTotalNumberOfReservedSeats
public BigInteger getTotalNumberOfReservedSeats()
Gets the value of the totalNumberOfReservedSeats property.- Returns:
- possible object is
BigInteger
-
setTotalNumberOfReservedSeats
public void setTotalNumberOfReservedSeats(BigInteger value)
Sets the value of the totalNumberOfReservedSeats property.- Parameters:
value- allowed object isBigInteger
-
getGroupReservations
public List<GroupReservationStructure> getGroupReservations()
Gets the value of the groupReservations 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 groupReservations property.For example, to add a new item, do as follows:
getGroupReservations().add(newItem);Objects of the following type(s) are allowed in the list
GroupReservationStructure
-
-