org.rutebanken.netex.model.TicketingEquipment_VersionStructure Maven / Gradle / Ivy
Show all versions of netex-java-model Show documentation
//
// 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.BigDecimal;
import java.math.BigInteger;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
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 TicketingEquipment_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TicketingEquipment_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}InstalledEquipment_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}TicketingEquipmentGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TicketingEquipment_VersionStructure", propOrder = {
"vehicleModes",
"ticketMachines",
"numberOfMachines",
"heightOfMachineInterface",
"ticketingFacilityList",
"ticketingServiceFacilityList",
"ticketOffice",
"ticketCounter",
"numberOfTills",
"queueManagement",
"paymentMethods",
"ticketTypesAvailable",
"scopeOfTicketsAvailable",
"lowCounterAccess",
"heightOfLowCounter",
"inductionLoops"
})
@XmlSeeAlso({
TicketingEquipment.class
})
public class TicketingEquipment_VersionStructure
extends InstalledEquipment_VersionStructure
{
@XmlList
@XmlElement(name = "VehicleModes")
protected List vehicleModes;
@XmlElement(name = "TicketMachines")
protected Boolean ticketMachines;
@XmlElement(name = "NumberOfMachines")
protected BigInteger numberOfMachines;
@XmlElement(name = "HeightOfMachineInterface")
protected BigDecimal heightOfMachineInterface;
@XmlList
@XmlElement(name = "TicketingFacilityList")
protected List ticketingFacilityList;
@XmlList
@XmlElement(name = "TicketingServiceFacilityList")
protected List ticketingServiceFacilityList;
@XmlElement(name = "TicketOffice")
protected Boolean ticketOffice;
@XmlElement(name = "TicketCounter")
protected Boolean ticketCounter;
@XmlElement(name = "NumberOfTills")
protected BigInteger numberOfTills;
@XmlElement(name = "QueueManagement")
@XmlSchemaType(name = "normalizedString")
protected QueueManagementEnumeration queueManagement;
@XmlList
@XmlElement(name = "PaymentMethods")
protected List paymentMethods;
@XmlList
@XmlElement(name = "TicketTypesAvailable")
protected List ticketTypesAvailable;
@XmlList
@XmlElement(name = "ScopeOfTicketsAvailable")
protected List scopeOfTicketsAvailable;
@XmlElement(name = "LowCounterAccess")
protected Boolean lowCounterAccess;
@XmlElement(name = "HeightOfLowCounter")
protected BigDecimal heightOfLowCounter;
@XmlElement(name = "InductionLoops")
protected Boolean inductionLoops;
/**
* Gets the value of the vehicleModes 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 vehicleModes property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleModes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleModeEnumeration }
*
*
*/
public List getVehicleModes() {
if (vehicleModes == null) {
vehicleModes = new ArrayList();
}
return this.vehicleModes;
}
/**
* Gets the value of the ticketMachines property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTicketMachines() {
return ticketMachines;
}
/**
* Sets the value of the ticketMachines property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTicketMachines(Boolean value) {
this.ticketMachines = value;
}
/**
* Gets the value of the numberOfMachines property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNumberOfMachines() {
return numberOfMachines;
}
/**
* Sets the value of the numberOfMachines property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNumberOfMachines(BigInteger value) {
this.numberOfMachines = value;
}
/**
* Gets the value of the heightOfMachineInterface property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHeightOfMachineInterface() {
return heightOfMachineInterface;
}
/**
* Sets the value of the heightOfMachineInterface property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setHeightOfMachineInterface(BigDecimal value) {
this.heightOfMachineInterface = value;
}
/**
* Gets the value of the ticketingFacilityList 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 ticketingFacilityList property.
*
*
* For example, to add a new item, do as follows:
*
* getTicketingFacilityList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TicketingFacilityEnumeration }
*
*
*/
public List getTicketingFacilityList() {
if (ticketingFacilityList == null) {
ticketingFacilityList = new ArrayList();
}
return this.ticketingFacilityList;
}
/**
* Gets the value of the ticketingServiceFacilityList 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 ticketingServiceFacilityList property.
*
*
* For example, to add a new item, do as follows:
*
* getTicketingServiceFacilityList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TicketingServiceFacilityEnumeration }
*
*
*/
public List getTicketingServiceFacilityList() {
if (ticketingServiceFacilityList == null) {
ticketingServiceFacilityList = new ArrayList();
}
return this.ticketingServiceFacilityList;
}
/**
* Gets the value of the ticketOffice property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTicketOffice() {
return ticketOffice;
}
/**
* Sets the value of the ticketOffice property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTicketOffice(Boolean value) {
this.ticketOffice = value;
}
/**
* Gets the value of the ticketCounter property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTicketCounter() {
return ticketCounter;
}
/**
* Sets the value of the ticketCounter property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTicketCounter(Boolean value) {
this.ticketCounter = value;
}
/**
* Gets the value of the numberOfTills property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNumberOfTills() {
return numberOfTills;
}
/**
* Sets the value of the numberOfTills property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNumberOfTills(BigInteger value) {
this.numberOfTills = value;
}
/**
* Gets the value of the queueManagement property.
*
* @return
* possible object is
* {@link QueueManagementEnumeration }
*
*/
public QueueManagementEnumeration getQueueManagement() {
return queueManagement;
}
/**
* Sets the value of the queueManagement property.
*
* @param value
* allowed object is
* {@link QueueManagementEnumeration }
*
*/
public void setQueueManagement(QueueManagementEnumeration value) {
this.queueManagement = value;
}
/**
* Gets the value of the paymentMethods 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 paymentMethods property.
*
*
* For example, to add a new item, do as follows:
*
* getPaymentMethods().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentMethodEnumeration }
*
*
*/
public List getPaymentMethods() {
if (paymentMethods == null) {
paymentMethods = new ArrayList();
}
return this.paymentMethods;
}
/**
* Gets the value of the ticketTypesAvailable 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 ticketTypesAvailable property.
*
*
* For example, to add a new item, do as follows:
*
* getTicketTypesAvailable().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TicketTypeEnumeration }
*
*
*/
public List getTicketTypesAvailable() {
if (ticketTypesAvailable == null) {
ticketTypesAvailable = new ArrayList();
}
return this.ticketTypesAvailable;
}
/**
* Gets the value of the scopeOfTicketsAvailable 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 scopeOfTicketsAvailable property.
*
*
* For example, to add a new item, do as follows:
*
* getScopeOfTicketsAvailable().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TicketingFacilityEnumeration }
*
*
*/
public List getScopeOfTicketsAvailable() {
if (scopeOfTicketsAvailable == null) {
scopeOfTicketsAvailable = new ArrayList();
}
return this.scopeOfTicketsAvailable;
}
/**
* Gets the value of the lowCounterAccess property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isLowCounterAccess() {
return lowCounterAccess;
}
/**
* Sets the value of the lowCounterAccess property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setLowCounterAccess(Boolean value) {
this.lowCounterAccess = value;
}
/**
* Gets the value of the heightOfLowCounter property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHeightOfLowCounter() {
return heightOfLowCounter;
}
/**
* Sets the value of the heightOfLowCounter property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setHeightOfLowCounter(BigDecimal value) {
this.heightOfLowCounter = value;
}
/**
* Gets the value of the inductionLoops property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInductionLoops() {
return inductionLoops;
}
/**
* Sets the value of the inductionLoops property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInductionLoops(Boolean value) {
this.inductionLoops = value;
}
public TicketingEquipment_VersionStructure withVehicleModes(VehicleModeEnumeration... values) {
if (values!= null) {
for (VehicleModeEnumeration value: values) {
getVehicleModes().add(value);
}
}
return this;
}
public TicketingEquipment_VersionStructure withVehicleModes(Collection values) {
if (values!= null) {
getVehicleModes().addAll(values);
}
return this;
}
public TicketingEquipment_VersionStructure withTicketMachines(Boolean value) {
setTicketMachines(value);
return this;
}
public TicketingEquipment_VersionStructure withNumberOfMachines(BigInteger value) {
setNumberOfMachines(value);
return this;
}
public TicketingEquipment_VersionStructure withHeightOfMachineInterface(BigDecimal value) {
setHeightOfMachineInterface(value);
return this;
}
public TicketingEquipment_VersionStructure withTicketingFacilityList(TicketingFacilityEnumeration... values) {
if (values!= null) {
for (TicketingFacilityEnumeration value: values) {
getTicketingFacilityList().add(value);
}
}
return this;
}
public TicketingEquipment_VersionStructure withTicketingFacilityList(Collection values) {
if (values!= null) {
getTicketingFacilityList().addAll(values);
}
return this;
}
public TicketingEquipment_VersionStructure withTicketingServiceFacilityList(TicketingServiceFacilityEnumeration... values) {
if (values!= null) {
for (TicketingServiceFacilityEnumeration value: values) {
getTicketingServiceFacilityList().add(value);
}
}
return this;
}
public TicketingEquipment_VersionStructure withTicketingServiceFacilityList(Collection values) {
if (values!= null) {
getTicketingServiceFacilityList().addAll(values);
}
return this;
}
public TicketingEquipment_VersionStructure withTicketOffice(Boolean value) {
setTicketOffice(value);
return this;
}
public TicketingEquipment_VersionStructure withTicketCounter(Boolean value) {
setTicketCounter(value);
return this;
}
public TicketingEquipment_VersionStructure withNumberOfTills(BigInteger value) {
setNumberOfTills(value);
return this;
}
public TicketingEquipment_VersionStructure withQueueManagement(QueueManagementEnumeration value) {
setQueueManagement(value);
return this;
}
public TicketingEquipment_VersionStructure withPaymentMethods(PaymentMethodEnumeration... values) {
if (values!= null) {
for (PaymentMethodEnumeration value: values) {
getPaymentMethods().add(value);
}
}
return this;
}
public TicketingEquipment_VersionStructure withPaymentMethods(Collection values) {
if (values!= null) {
getPaymentMethods().addAll(values);
}
return this;
}
public TicketingEquipment_VersionStructure withTicketTypesAvailable(TicketTypeEnumeration... values) {
if (values!= null) {
for (TicketTypeEnumeration value: values) {
getTicketTypesAvailable().add(value);
}
}
return this;
}
public TicketingEquipment_VersionStructure withTicketTypesAvailable(Collection values) {
if (values!= null) {
getTicketTypesAvailable().addAll(values);
}
return this;
}
public TicketingEquipment_VersionStructure withScopeOfTicketsAvailable(TicketingFacilityEnumeration... values) {
if (values!= null) {
for (TicketingFacilityEnumeration value: values) {
getScopeOfTicketsAvailable().add(value);
}
}
return this;
}
public TicketingEquipment_VersionStructure withScopeOfTicketsAvailable(Collection values) {
if (values!= null) {
getScopeOfTicketsAvailable().addAll(values);
}
return this;
}
public TicketingEquipment_VersionStructure withLowCounterAccess(Boolean value) {
setLowCounterAccess(value);
return this;
}
public TicketingEquipment_VersionStructure withHeightOfLowCounter(BigDecimal value) {
setHeightOfLowCounter(value);
return this;
}
public TicketingEquipment_VersionStructure withInductionLoops(Boolean value) {
setInductionLoops(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withPublicCode(PrivateCodeStructure value) {
setPublicCode(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withImage(String value) {
setImage(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withTypeOfEquipmentRef(TypeOfEquipmentRefStructure value) {
setTypeOfEquipmentRef(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withNote(MultilingualString value) {
setNote(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withOutOfService(Boolean value) {
setOutOfService(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public TicketingEquipment_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public TicketingEquipment_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public TicketingEquipment_VersionStructure 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);
}
}