Class 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.1

    Java 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
    • Constructor Detail

      • VehicleOccupancyStructure

        public VehicleOccupancyStructure()
    • 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 is CompoundTrainRef
      • 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 is TrainRef
      • setTrainComponentRef

        public void setTrainComponentRef​(TrainComponentRef value)
        Sets the value of the trainComponentRef property.
        Parameters:
        value - allowed object is TrainComponentRef
      • setEntranceToVehicleRef

        public void setEntranceToVehicleRef​(EntranceToVehicleRef value)
        Sets the value of the entranceToVehicleRef property.
        Parameters:
        value - allowed object is EntranceToVehicleRef
      • 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 is BigDecimal
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 is BigInteger
      • 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 set method 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