Package uk.org.siri.siri21
Class GroupReservationStructure
- java.lang.Object
-
- uk.org.siri.siri21.GroupReservationStructure
-
- All Implemented Interfaces:
Serializable
public class GroupReservationStructure extends Object implements Serializable
Used to specify that a travel group has booked a section of the vehicle for a part of the journey, and if so under what name. +SIRI v2.1Java class for GroupReservationStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GroupReservationStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="NameOfGroup" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure"/> <element name="NumberOfReservedSeats" type="{http://www.siri.org.uk/siri}NumberOfPassengers"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected NaturalLanguageStringStructurenameOfGroupprotected BigIntegernumberOfReservedSeats
-
Constructor Summary
Constructors Constructor Description GroupReservationStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NaturalLanguageStringStructuregetNameOfGroup()Gets the value of the nameOfGroup property.BigIntegergetNumberOfReservedSeats()Gets the value of the numberOfReservedSeats property.voidsetNameOfGroup(NaturalLanguageStringStructure value)Sets the value of the nameOfGroup property.voidsetNumberOfReservedSeats(BigInteger value)Sets the value of the numberOfReservedSeats property.
-
-
-
Field Detail
-
nameOfGroup
protected NaturalLanguageStringStructure nameOfGroup
-
numberOfReservedSeats
protected BigInteger numberOfReservedSeats
-
-
Method Detail
-
getNameOfGroup
public NaturalLanguageStringStructure getNameOfGroup()
Gets the value of the nameOfGroup property.- Returns:
- possible object is
NaturalLanguageStringStructure
-
setNameOfGroup
public void setNameOfGroup(NaturalLanguageStringStructure value)
Sets the value of the nameOfGroup property.- Parameters:
value- allowed object isNaturalLanguageStringStructure
-
getNumberOfReservedSeats
public BigInteger getNumberOfReservedSeats()
Gets the value of the numberOfReservedSeats property.- Returns:
- possible object is
BigInteger
-
setNumberOfReservedSeats
public void setNumberOfReservedSeats(BigInteger value)
Sets the value of the numberOfReservedSeats property.- Parameters:
value- allowed object isBigInteger
-
-