org.rutebanken.netex.model.AccessVehicleEquipment_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.JAXBElement;
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 AccessVehicleEquipment_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AccessVehicleEquipment_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}ActualVehicleEquipment_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}AccessVehicleEquipmentGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccessVehicleEquipment_VersionStructure", propOrder = {
"lowFloor",
"highFloor",
"hoist",
"hoistOperatingRadius",
"ramp",
"rampBearingCapacity",
"numberOfSteps",
"boardingHeight",
"gapToPlatform",
"widthOfAccessArea",
"heightOfAccessArea",
"automaticDoors",
"suitableFor",
"assistanceNeeded",
"assistedBoardingLocation",
"guideDogsAllowed"
})
@XmlSeeAlso({
AccessVehicleEquipment.class
})
public class AccessVehicleEquipment_VersionStructure
extends ActualVehicleEquipment_VersionStructure
{
@XmlElement(name = "LowFloor")
protected Boolean lowFloor;
@XmlElement(name = "HighFloor")
protected Boolean highFloor;
@XmlElement(name = "Hoist")
protected Boolean hoist;
@XmlElement(name = "HoistOperatingRadius")
protected BigDecimal hoistOperatingRadius;
@XmlElement(name = "Ramp")
protected Boolean ramp;
@XmlElement(name = "RampBearingCapacity")
protected BigDecimal rampBearingCapacity;
@XmlElement(name = "NumberOfSteps")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfSteps;
@XmlElement(name = "BoardingHeight")
protected TypeOfEntity_VersionStructure boardingHeight;
@XmlElement(name = "GapToPlatform")
protected TypeOfEntity_VersionStructure gapToPlatform;
@XmlElement(name = "WidthOfAccessArea")
protected BigDecimal widthOfAccessArea;
@XmlElement(name = "HeightOfAccessArea")
protected BigDecimal heightOfAccessArea;
@XmlElement(name = "AutomaticDoors")
protected Boolean automaticDoors;
@XmlList
@XmlElement(name = "SuitableFor")
protected List suitableFor;
@XmlElement(name = "AssistanceNeeded")
@XmlSchemaType(name = "normalizedString")
protected AssistanceNeededEnumeration assistanceNeeded;
@XmlElement(name = "AssistedBoardingLocation")
@XmlSchemaType(name = "normalizedString")
protected AssistedBoardingLocationEnumeration assistedBoardingLocation;
@XmlElement(name = "GuideDogsAllowed", defaultValue = "true")
protected Boolean guideDogsAllowed;
/**
* Gets the value of the lowFloor property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isLowFloor() {
return lowFloor;
}
/**
* Sets the value of the lowFloor property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setLowFloor(Boolean value) {
this.lowFloor = value;
}
/**
* Gets the value of the highFloor property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHighFloor() {
return highFloor;
}
/**
* Sets the value of the highFloor property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHighFloor(Boolean value) {
this.highFloor = value;
}
/**
* Gets the value of the hoist property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHoist() {
return hoist;
}
/**
* Sets the value of the hoist property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHoist(Boolean value) {
this.hoist = value;
}
/**
* Gets the value of the hoistOperatingRadius property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHoistOperatingRadius() {
return hoistOperatingRadius;
}
/**
* Sets the value of the hoistOperatingRadius property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setHoistOperatingRadius(BigDecimal value) {
this.hoistOperatingRadius = value;
}
/**
* Gets the value of the ramp property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRamp() {
return ramp;
}
/**
* Sets the value of the ramp property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRamp(Boolean value) {
this.ramp = value;
}
/**
* Gets the value of the rampBearingCapacity property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getRampBearingCapacity() {
return rampBearingCapacity;
}
/**
* Sets the value of the rampBearingCapacity property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setRampBearingCapacity(BigDecimal value) {
this.rampBearingCapacity = value;
}
/**
* Gets the value of the numberOfSteps property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNumberOfSteps() {
return numberOfSteps;
}
/**
* Sets the value of the numberOfSteps property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNumberOfSteps(BigInteger value) {
this.numberOfSteps = value;
}
/**
* Gets the value of the boardingHeight property.
*
* @return
* possible object is
* {@link TypeOfEntity_VersionStructure }
*
*/
public TypeOfEntity_VersionStructure getBoardingHeight() {
return boardingHeight;
}
/**
* Sets the value of the boardingHeight property.
*
* @param value
* allowed object is
* {@link TypeOfEntity_VersionStructure }
*
*/
public void setBoardingHeight(TypeOfEntity_VersionStructure value) {
this.boardingHeight = value;
}
/**
* Gets the value of the gapToPlatform property.
*
* @return
* possible object is
* {@link TypeOfEntity_VersionStructure }
*
*/
public TypeOfEntity_VersionStructure getGapToPlatform() {
return gapToPlatform;
}
/**
* Sets the value of the gapToPlatform property.
*
* @param value
* allowed object is
* {@link TypeOfEntity_VersionStructure }
*
*/
public void setGapToPlatform(TypeOfEntity_VersionStructure value) {
this.gapToPlatform = value;
}
/**
* Gets the value of the widthOfAccessArea property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getWidthOfAccessArea() {
return widthOfAccessArea;
}
/**
* Sets the value of the widthOfAccessArea property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setWidthOfAccessArea(BigDecimal value) {
this.widthOfAccessArea = value;
}
/**
* Gets the value of the heightOfAccessArea property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getHeightOfAccessArea() {
return heightOfAccessArea;
}
/**
* Sets the value of the heightOfAccessArea property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setHeightOfAccessArea(BigDecimal value) {
this.heightOfAccessArea = value;
}
/**
* Gets the value of the automaticDoors property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAutomaticDoors() {
return automaticDoors;
}
/**
* Sets the value of the automaticDoors property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAutomaticDoors(Boolean value) {
this.automaticDoors = value;
}
/**
* Gets the value of the suitableFor 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 suitableFor property.
*
*
* For example, to add a new item, do as follows:
*
* getSuitableFor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MobilityEnumeration }
*
*
*/
public List getSuitableFor() {
if (suitableFor == null) {
suitableFor = new ArrayList();
}
return this.suitableFor;
}
/**
* Gets the value of the assistanceNeeded property.
*
* @return
* possible object is
* {@link AssistanceNeededEnumeration }
*
*/
public AssistanceNeededEnumeration getAssistanceNeeded() {
return assistanceNeeded;
}
/**
* Sets the value of the assistanceNeeded property.
*
* @param value
* allowed object is
* {@link AssistanceNeededEnumeration }
*
*/
public void setAssistanceNeeded(AssistanceNeededEnumeration value) {
this.assistanceNeeded = value;
}
/**
* Gets the value of the assistedBoardingLocation property.
*
* @return
* possible object is
* {@link AssistedBoardingLocationEnumeration }
*
*/
public AssistedBoardingLocationEnumeration getAssistedBoardingLocation() {
return assistedBoardingLocation;
}
/**
* Sets the value of the assistedBoardingLocation property.
*
* @param value
* allowed object is
* {@link AssistedBoardingLocationEnumeration }
*
*/
public void setAssistedBoardingLocation(AssistedBoardingLocationEnumeration value) {
this.assistedBoardingLocation = value;
}
/**
* Gets the value of the guideDogsAllowed property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isGuideDogsAllowed() {
return guideDogsAllowed;
}
/**
* Sets the value of the guideDogsAllowed property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setGuideDogsAllowed(Boolean value) {
this.guideDogsAllowed = value;
}
public AccessVehicleEquipment_VersionStructure withLowFloor(Boolean value) {
setLowFloor(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withHighFloor(Boolean value) {
setHighFloor(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withHoist(Boolean value) {
setHoist(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withHoistOperatingRadius(BigDecimal value) {
setHoistOperatingRadius(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withRamp(Boolean value) {
setRamp(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withRampBearingCapacity(BigDecimal value) {
setRampBearingCapacity(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withNumberOfSteps(BigInteger value) {
setNumberOfSteps(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withBoardingHeight(TypeOfEntity_VersionStructure value) {
setBoardingHeight(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withGapToPlatform(TypeOfEntity_VersionStructure value) {
setGapToPlatform(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withWidthOfAccessArea(BigDecimal value) {
setWidthOfAccessArea(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withHeightOfAccessArea(BigDecimal value) {
setHeightOfAccessArea(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withAutomaticDoors(Boolean value) {
setAutomaticDoors(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withSuitableFor(MobilityEnumeration... values) {
if (values!= null) {
for (MobilityEnumeration value: values) {
getSuitableFor().add(value);
}
}
return this;
}
public AccessVehicleEquipment_VersionStructure withSuitableFor(Collection values) {
if (values!= null) {
getSuitableFor().addAll(values);
}
return this;
}
public AccessVehicleEquipment_VersionStructure withAssistanceNeeded(AssistanceNeededEnumeration value) {
setAssistanceNeeded(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withAssistedBoardingLocation(AssistedBoardingLocationEnumeration value) {
setAssistedBoardingLocation(value);
return this;
}
public AccessVehicleEquipment_VersionStructure withGuideDogsAllowed(Boolean value) {
setGuideDogsAllowed(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withUnits(BigInteger value) {
setUnits(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withVehicleTypeRef(JAXBElement extends VehicleTypeRefStructure> value) {
setVehicleTypeRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withEquipmentRef(JAXBElement extends EquipmentRefStructure> value) {
setEquipmentRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withAccessibilityAssessment(AccessibilityAssessment value) {
setAccessibilityAssessment(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withFixed(Boolean value) {
setFixed(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withPublicCode(PrivateCodeStructure value) {
setPublicCode(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withImage(String value) {
setImage(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withTypeOfEquipmentRef(TypeOfEquipmentRefStructure value) {
setTypeOfEquipmentRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withNote(MultilingualString value) {
setNote(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withOutOfService(Boolean value) {
setOutOfService(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public AccessVehicleEquipment_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public AccessVehicleEquipment_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);
}
}