org.rutebanken.netex.model.PlaceInSequence_VersionedChildStructure 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.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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for PlaceInSequence_VersionedChildStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PlaceInSequence_VersionedChildStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}PointInLinkSequence_VersionedChildStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}PlaceInSequenceGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PlaceInSequence_VersionedChildStructure", propOrder = {
"placeRef",
"branchLevel",
"description",
"onwardLinks"
})
@XmlSeeAlso({
PlaceInSequence.class
})
public class PlaceInSequence_VersionedChildStructure
extends PointInLinkSequence_VersionedChildStructure
{
@XmlElement(name = "PlaceRef")
protected PlaceRefStructure placeRef;
@XmlElement(name = "BranchLevel")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String branchLevel;
@XmlElement(name = "Description")
protected MultilingualString description;
protected PlaceInSequence_VersionedChildStructure.OnwardLinks onwardLinks;
/**
* Gets the value of the placeRef property.
*
* @return
* possible object is
* {@link PlaceRefStructure }
*
*/
public PlaceRefStructure getPlaceRef() {
return placeRef;
}
/**
* Sets the value of the placeRef property.
*
* @param value
* allowed object is
* {@link PlaceRefStructure }
*
*/
public void setPlaceRef(PlaceRefStructure value) {
this.placeRef = value;
}
/**
* Gets the value of the branchLevel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBranchLevel() {
return branchLevel;
}
/**
* Sets the value of the branchLevel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBranchLevel(String value) {
this.branchLevel = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setDescription(MultilingualString value) {
this.description = value;
}
/**
* Gets the value of the onwardLinks property.
*
* @return
* possible object is
* {@link PlaceInSequence_VersionedChildStructure.OnwardLinks }
*
*/
public PlaceInSequence_VersionedChildStructure.OnwardLinks getOnwardLinks() {
return onwardLinks;
}
/**
* Sets the value of the onwardLinks property.
*
* @param value
* allowed object is
* {@link PlaceInSequence_VersionedChildStructure.OnwardLinks }
*
*/
public void setOnwardLinks(PlaceInSequence_VersionedChildStructure.OnwardLinks value) {
this.onwardLinks = value;
}
public PlaceInSequence_VersionedChildStructure withPlaceRef(PlaceRefStructure value) {
setPlaceRef(value);
return this;
}
public PlaceInSequence_VersionedChildStructure withBranchLevel(String value) {
setBranchLevel(value);
return this;
}
public PlaceInSequence_VersionedChildStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
public PlaceInSequence_VersionedChildStructure withOnwardLinks(PlaceInSequence_VersionedChildStructure.OnwardLinks value) {
setOnwardLinks(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withLinkSequenceRef(JAXBElement extends LinkSequenceRefStructure> value) {
setLinkSequenceRef(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withProjections(Projections_RelStructure value) {
setProjections(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public PlaceInSequence_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);
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}pathLinksInSequence_RelStructure">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class OnwardLinks
extends PathLinksInSequence_RelStructure
{
@Override
public PlaceInSequence_VersionedChildStructure.OnwardLinks withPathLinkInSequence(PathLinkInSequence... values) {
if (values!= null) {
for (PathLinkInSequence value: values) {
getPathLinkInSequence().add(value);
}
}
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure.OnwardLinks withPathLinkInSequence(Collection values) {
if (values!= null) {
getPathLinkInSequence().addAll(values);
}
return this;
}
@Override
public PlaceInSequence_VersionedChildStructure.OnwardLinks 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