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

org.rutebanken.netex.model.PassengerCapacityStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import java.math.BigInteger;
import java.time.OffsetDateTime;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for PassengerCapacityStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="PassengerCapacityStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}DataManagedObjectStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}PassengerCapacityGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PassengerCapacityStructure", propOrder = { "fareClass", "totalCapacity", "seatingCapacity", "standingCapacity", "specialPlaceCapacity", "pushchairCapacity", "wheelchairPlaceCapacity" }) @XmlSeeAlso({ PassengerCapacity.class }) public class PassengerCapacityStructure extends DataManagedObjectStructure { @XmlElement(name = "FareClass", defaultValue = "any") @XmlSchemaType(name = "NMTOKEN") protected FareClassEnumeration fareClass; @XmlElement(name = "TotalCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger totalCapacity; @XmlElement(name = "SeatingCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger seatingCapacity; @XmlElement(name = "StandingCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger standingCapacity; @XmlElement(name = "SpecialPlaceCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger specialPlaceCapacity; @XmlElement(name = "PushchairCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger pushchairCapacity; @XmlElement(name = "WheelchairPlaceCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger wheelchairPlaceCapacity; /** * Gets the value of the fareClass property. * * @return * possible object is * {@link FareClassEnumeration } * */ public FareClassEnumeration getFareClass() { return fareClass; } /** * Sets the value of the fareClass property. * * @param value * allowed object is * {@link FareClassEnumeration } * */ public void setFareClass(FareClassEnumeration value) { this.fareClass = value; } /** * Gets the value of the totalCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTotalCapacity() { return totalCapacity; } /** * Sets the value of the totalCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTotalCapacity(BigInteger value) { this.totalCapacity = value; } /** * Gets the value of the seatingCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSeatingCapacity() { return seatingCapacity; } /** * Sets the value of the seatingCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSeatingCapacity(BigInteger value) { this.seatingCapacity = value; } /** * Gets the value of the standingCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getStandingCapacity() { return standingCapacity; } /** * Sets the value of the standingCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setStandingCapacity(BigInteger value) { this.standingCapacity = value; } /** * Gets the value of the specialPlaceCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getSpecialPlaceCapacity() { return specialPlaceCapacity; } /** * Sets the value of the specialPlaceCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setSpecialPlaceCapacity(BigInteger value) { this.specialPlaceCapacity = value; } /** * Gets the value of the pushchairCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getPushchairCapacity() { return pushchairCapacity; } /** * Sets the value of the pushchairCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setPushchairCapacity(BigInteger value) { this.pushchairCapacity = value; } /** * Gets the value of the wheelchairPlaceCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getWheelchairPlaceCapacity() { return wheelchairPlaceCapacity; } /** * Sets the value of the wheelchairPlaceCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setWheelchairPlaceCapacity(BigInteger value) { this.wheelchairPlaceCapacity = value; } public PassengerCapacityStructure withFareClass(FareClassEnumeration value) { setFareClass(value); return this; } public PassengerCapacityStructure withTotalCapacity(BigInteger value) { setTotalCapacity(value); return this; } public PassengerCapacityStructure withSeatingCapacity(BigInteger value) { setSeatingCapacity(value); return this; } public PassengerCapacityStructure withStandingCapacity(BigInteger value) { setStandingCapacity(value); return this; } public PassengerCapacityStructure withSpecialPlaceCapacity(BigInteger value) { setSpecialPlaceCapacity(value); return this; } public PassengerCapacityStructure withPushchairCapacity(BigInteger value) { setPushchairCapacity(value); return this; } public PassengerCapacityStructure withWheelchairPlaceCapacity(BigInteger value) { setWheelchairPlaceCapacity(value); return this; } @Override public PassengerCapacityStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public PassengerCapacityStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public PassengerCapacityStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public PassengerCapacityStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public PassengerCapacityStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public PassengerCapacityStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public PassengerCapacityStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public PassengerCapacityStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public PassengerCapacityStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public PassengerCapacityStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public PassengerCapacityStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public PassengerCapacityStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public PassengerCapacityStructure withVersion(String value) { setVersion(value); return this; } @Override public PassengerCapacityStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public PassengerCapacityStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public PassengerCapacityStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public PassengerCapacityStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public PassengerCapacityStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public PassengerCapacityStructure withId(String value) { setId(value); return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy