org.rutebanken.netex.model.AccessVehicleEquipment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// 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.Collection;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.netex.org.uk/netex}AccessVehicleEquipment_VersionStructure">
* <sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}EntityInVersionGroup" minOccurs="0"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}DataManagedObjectGroup"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}EquipmentGroup"/>
* </sequence>
* <sequence>
* <element name="Fixed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}ActualVehicleEquipmentGroup"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}AccessVehicleEquipmentGroup"/>
* </sequence>
* </sequence>
* <attribute name="id" type="{http://www.netex.org.uk/netex}AccessVehicleEquipmentIdType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class AccessVehicleEquipment
extends AccessVehicleEquipment_VersionStructure
{
@Override
public AccessVehicleEquipment withLowFloor(Boolean value) {
setLowFloor(value);
return this;
}
@Override
public AccessVehicleEquipment withHighFloor(Boolean value) {
setHighFloor(value);
return this;
}
@Override
public AccessVehicleEquipment withHoist(Boolean value) {
setHoist(value);
return this;
}
@Override
public AccessVehicleEquipment withHoistOperatingRadius(BigDecimal value) {
setHoistOperatingRadius(value);
return this;
}
@Override
public AccessVehicleEquipment withRamp(Boolean value) {
setRamp(value);
return this;
}
@Override
public AccessVehicleEquipment withRampBearingCapacity(BigDecimal value) {
setRampBearingCapacity(value);
return this;
}
@Override
public AccessVehicleEquipment withNumberOfSteps(BigInteger value) {
setNumberOfSteps(value);
return this;
}
@Override
public AccessVehicleEquipment withBoardingHeight(TypeOfEntity_VersionStructure value) {
setBoardingHeight(value);
return this;
}
@Override
public AccessVehicleEquipment withGapToPlatform(TypeOfEntity_VersionStructure value) {
setGapToPlatform(value);
return this;
}
@Override
public AccessVehicleEquipment withWidthOfAccessArea(BigDecimal value) {
setWidthOfAccessArea(value);
return this;
}
@Override
public AccessVehicleEquipment withHeightOfAccessArea(BigDecimal value) {
setHeightOfAccessArea(value);
return this;
}
@Override
public AccessVehicleEquipment withAutomaticDoors(Boolean value) {
setAutomaticDoors(value);
return this;
}
@Override
public AccessVehicleEquipment withSuitableFor(MobilityEnumeration... values) {
if (values!= null) {
for (MobilityEnumeration value: values) {
getSuitableFor().add(value);
}
}
return this;
}
@Override
public AccessVehicleEquipment withSuitableFor(Collection values) {
if (values!= null) {
getSuitableFor().addAll(values);
}
return this;
}
@Override
public AccessVehicleEquipment withAssistanceNeeded(AssistanceNeededEnumeration value) {
setAssistanceNeeded(value);
return this;
}
@Override
public AccessVehicleEquipment withAssistedBoardingLocation(AssistedBoardingLocationEnumeration value) {
setAssistedBoardingLocation(value);
return this;
}
@Override
public AccessVehicleEquipment withGuideDogsAllowed(Boolean value) {
setGuideDogsAllowed(value);
return this;
}
@Override
public AccessVehicleEquipment withUnits(BigInteger value) {
setUnits(value);
return this;
}
@Override
public AccessVehicleEquipment withVehicleTypeRef(JAXBElement extends VehicleTypeRefStructure> value) {
setVehicleTypeRef(value);
return this;
}
@Override
public AccessVehicleEquipment withEquipmentRef(JAXBElement extends EquipmentRefStructure> value) {
setEquipmentRef(value);
return this;
}
@Override
public AccessVehicleEquipment withAccessibilityAssessment(AccessibilityAssessment value) {
setAccessibilityAssessment(value);
return this;
}
@Override
public AccessVehicleEquipment withFixed(Boolean value) {
setFixed(value);
return this;
}
@Override
public AccessVehicleEquipment withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public AccessVehicleEquipment withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public AccessVehicleEquipment withPublicCode(PrivateCodeStructure value) {
setPublicCode(value);
return this;
}
@Override
public AccessVehicleEquipment withImage(String value) {
setImage(value);
return this;
}
@Override
public AccessVehicleEquipment withTypeOfEquipmentRef(TypeOfEquipmentRefStructure value) {
setTypeOfEquipmentRef(value);
return this;
}
@Override
public AccessVehicleEquipment withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public AccessVehicleEquipment withNote(MultilingualString value) {
setNote(value);
return this;
}
@Override
public AccessVehicleEquipment withOutOfService(Boolean value) {
setOutOfService(value);
return this;
}
@Override
public AccessVehicleEquipment withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public AccessVehicleEquipment withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public AccessVehicleEquipment withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public AccessVehicleEquipment withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public AccessVehicleEquipment withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public AccessVehicleEquipment withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public AccessVehicleEquipment withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public AccessVehicleEquipment withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public AccessVehicleEquipment withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public AccessVehicleEquipment withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public AccessVehicleEquipment withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public AccessVehicleEquipment withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public AccessVehicleEquipment withVersion(String value) {
setVersion(value);
return this;
}
@Override
public AccessVehicleEquipment withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public AccessVehicleEquipment withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public AccessVehicleEquipment withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public AccessVehicleEquipment withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public AccessVehicleEquipment withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public AccessVehicleEquipment 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