All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.org.siri.siri21.GroupReservationStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:41 PM UTC 
//


package uk.org.siri.siri21;

import java.io.Serializable;
import java.math.BigInteger;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 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. (since SIRI 2.1)
 * 
 * 

Java 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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GroupReservationStructure", propOrder = { "nameOfGroup", "numberOfReservedSeats" }) public class GroupReservationStructure implements Serializable { @XmlElement(name = "NameOfGroup", required = true) protected NaturalLanguageStringStructure nameOfGroup; @XmlElement(name = "NumberOfReservedSeats", required = true) @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger numberOfReservedSeats; /** * Gets the value of the nameOfGroup property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getNameOfGroup() { return nameOfGroup; } /** * Sets the value of the nameOfGroup property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setNameOfGroup(NaturalLanguageStringStructure value) { this.nameOfGroup = value; } /** * Gets the value of the numberOfReservedSeats property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfReservedSeats() { return numberOfReservedSeats; } /** * Sets the value of the numberOfReservedSeats property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfReservedSeats(BigInteger value) { this.numberOfReservedSeats = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy