org.rutebanken.netex.model.CrossingEquipment 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.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}CrossingEquipment_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>
* <group ref="{http://www.netex.org.uk/netex}AccessEquipmentGroup"/>
* </sequence>
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}CrossingEquipmentGroup"/>
* </sequence>
* </sequence>
* <attribute name="id" type="{http://www.netex.org.uk/netex}CrossingEquipmentIdType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public class CrossingEquipment
extends CrossingEquipment_VersionStructure
{
@Override
public CrossingEquipment withCrossingType(CrossingTypeEnumeration value) {
setCrossingType(value);
return this;
}
@Override
public CrossingEquipment withZebraCrossing(Boolean value) {
setZebraCrossing(value);
return this;
}
@Override
public CrossingEquipment withPedestrianLights(Boolean value) {
setPedestrianLights(value);
return this;
}
@Override
public CrossingEquipment withAcousticDeviceSensors(Boolean value) {
setAcousticDeviceSensors(value);
return this;
}
@Override
public CrossingEquipment withAcousticCrossingAids(Boolean value) {
setAcousticCrossingAids(value);
return this;
}
@Override
public CrossingEquipment withTactileGuidanceStrips(Boolean value) {
setTactileGuidanceStrips(value);
return this;
}
@Override
public CrossingEquipment withVisualGuidanceBands(Boolean value) {
setVisualGuidanceBands(value);
return this;
}
@Override
public CrossingEquipment withDroppedKerb(Boolean value) {
setDroppedKerb(value);
return this;
}
@Override
public CrossingEquipment withSuitableForCycles(Boolean value) {
setSuitableForCycles(value);
return this;
}
@Override
public CrossingEquipment withWidth(BigDecimal value) {
setWidth(value);
return this;
}
@Override
public CrossingEquipment withDirectionOfUse(DirectionOfUseEnumeration value) {
setDirectionOfUse(value);
return this;
}
@Override
public CrossingEquipment withPassengersPerMinute(BigInteger value) {
setPassengersPerMinute(value);
return this;
}
@Override
public CrossingEquipment withRelativeWeighting(BigInteger value) {
setRelativeWeighting(value);
return this;
}
@Override
public CrossingEquipment withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public CrossingEquipment withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public CrossingEquipment withPublicCode(PrivateCodeStructure value) {
setPublicCode(value);
return this;
}
@Override
public CrossingEquipment withImage(String value) {
setImage(value);
return this;
}
@Override
public CrossingEquipment withTypeOfEquipmentRef(TypeOfEquipmentRefStructure value) {
setTypeOfEquipmentRef(value);
return this;
}
@Override
public CrossingEquipment withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public CrossingEquipment withNote(MultilingualString value) {
setNote(value);
return this;
}
@Override
public CrossingEquipment withOutOfService(Boolean value) {
setOutOfService(value);
return this;
}
@Override
public CrossingEquipment withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public CrossingEquipment withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public CrossingEquipment withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public CrossingEquipment withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public CrossingEquipment withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public CrossingEquipment withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public CrossingEquipment withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public CrossingEquipment withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public CrossingEquipment withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public CrossingEquipment withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public CrossingEquipment withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public CrossingEquipment withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public CrossingEquipment withVersion(String value) {
setVersion(value);
return this;
}
@Override
public CrossingEquipment withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public CrossingEquipment withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public CrossingEquipment withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public CrossingEquipment withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public CrossingEquipment withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public CrossingEquipment 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