org.rutebanken.netex.model.PointOnLineSection_VersionedChildStructure 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.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 PointOnLineSection_VersionedChildStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PointOnLineSection_VersionedChildStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}PointOnSection_VersionedChildStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}PointOnLineSectionGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PointOnLineSection_VersionedChildStructure", propOrder = {
"lineSectionPointType",
"showAsAccessible",
"connectingVehicleModes"
})
@XmlSeeAlso({
PointOnLineSection.class,
LineSectionPointMember.class
})
public class PointOnLineSection_VersionedChildStructure
extends PointOnSection_VersionedChildStructure
{
@XmlElement(name = "LineSectionPointType")
@XmlSchemaType(name = "normalizedString")
protected LineSectionPointTypeEnumeration lineSectionPointType;
@XmlElement(name = "ShowAsAccessible", defaultValue = "true")
protected Boolean showAsAccessible;
@XmlList
@XmlElement(name = "ConnectingVehicleModes")
protected List connectingVehicleModes;
/**
* Gets the value of the lineSectionPointType property.
*
* @return
* possible object is
* {@link LineSectionPointTypeEnumeration }
*
*/
public LineSectionPointTypeEnumeration getLineSectionPointType() {
return lineSectionPointType;
}
/**
* Sets the value of the lineSectionPointType property.
*
* @param value
* allowed object is
* {@link LineSectionPointTypeEnumeration }
*
*/
public void setLineSectionPointType(LineSectionPointTypeEnumeration value) {
this.lineSectionPointType = value;
}
/**
* Gets the value of the showAsAccessible property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isShowAsAccessible() {
return showAsAccessible;
}
/**
* Sets the value of the showAsAccessible property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setShowAsAccessible(Boolean value) {
this.showAsAccessible = value;
}
/**
* Gets the value of the connectingVehicleModes 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 connectingVehicleModes property.
*
*
* For example, to add a new item, do as follows:
*
* getConnectingVehicleModes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleModeEnumeration }
*
*
*/
public List getConnectingVehicleModes() {
if (connectingVehicleModes == null) {
connectingVehicleModes = new ArrayList();
}
return this.connectingVehicleModes;
}
public PointOnLineSection_VersionedChildStructure withLineSectionPointType(LineSectionPointTypeEnumeration value) {
setLineSectionPointType(value);
return this;
}
public PointOnLineSection_VersionedChildStructure withShowAsAccessible(Boolean value) {
setShowAsAccessible(value);
return this;
}
public PointOnLineSection_VersionedChildStructure withConnectingVehicleModes(VehicleModeEnumeration... values) {
if (values!= null) {
for (VehicleModeEnumeration value: values) {
getConnectingVehicleModes().add(value);
}
}
return this;
}
public PointOnLineSection_VersionedChildStructure withConnectingVehicleModes(Collection values) {
if (values!= null) {
getConnectingVehicleModes().addAll(values);
}
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withParentSectionRef(SectionRefStructure value) {
setParentSectionRef(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withPointRef(JAXBElement extends PointRefStructure> value) {
setPointRef(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withPoint(JAXBElement extends Point_VersionStructure> value) {
setPoint(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withLinkRef(JAXBElement extends LinkRefStructure> value) {
setLinkRef(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withReverse(Boolean value) {
setReverse(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public PointOnLineSection_VersionedChildStructure 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);
}
}