org.rutebanken.netex.model.Network_VersionStructure 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.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.XmlElementRef;
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 Network_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Network_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}GroupOfLines_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}NetworkGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Network_VersionStructure", propOrder = {
"transportOrganisationRef",
"groupsOfLines",
"tariffZones"
})
@XmlSeeAlso({
Network.class
})
public class Network_VersionStructure
extends GroupOfLines_VersionStructure
{
@XmlElementRef(name = "TransportOrganisationRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends OrganisationRefStructure> transportOrganisationRef;
protected GroupsOfLinesInFrame_RelStructure groupsOfLines;
protected TariffZoneRefs_RelStructure tariffZones;
/**
* Gets the value of the transportOrganisationRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link AuthorityRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OperatorRefStructure }{@code >}
*
*/
public JAXBElement extends OrganisationRefStructure> getTransportOrganisationRef() {
return transportOrganisationRef;
}
/**
* Sets the value of the transportOrganisationRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link AuthorityRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OrganisationRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OperatorRefStructure }{@code >}
*
*/
public void setTransportOrganisationRef(JAXBElement extends OrganisationRefStructure> value) {
this.transportOrganisationRef = value;
}
/**
* Gets the value of the groupsOfLines property.
*
* @return
* possible object is
* {@link GroupsOfLinesInFrame_RelStructure }
*
*/
public GroupsOfLinesInFrame_RelStructure getGroupsOfLines() {
return groupsOfLines;
}
/**
* Sets the value of the groupsOfLines property.
*
* @param value
* allowed object is
* {@link GroupsOfLinesInFrame_RelStructure }
*
*/
public void setGroupsOfLines(GroupsOfLinesInFrame_RelStructure value) {
this.groupsOfLines = value;
}
/**
* Gets the value of the tariffZones property.
*
* @return
* possible object is
* {@link TariffZoneRefs_RelStructure }
*
*/
public TariffZoneRefs_RelStructure getTariffZones() {
return tariffZones;
}
/**
* Sets the value of the tariffZones property.
*
* @param value
* allowed object is
* {@link TariffZoneRefs_RelStructure }
*
*/
public void setTariffZones(TariffZoneRefs_RelStructure value) {
this.tariffZones = value;
}
public Network_VersionStructure withTransportOrganisationRef(JAXBElement extends OrganisationRefStructure> value) {
setTransportOrganisationRef(value);
return this;
}
public Network_VersionStructure withGroupsOfLines(GroupsOfLinesInFrame_RelStructure value) {
setGroupsOfLines(value);
return this;
}
public Network_VersionStructure withTariffZones(TariffZoneRefs_RelStructure value) {
setTariffZones(value);
return this;
}
@Override
public Network_VersionStructure withMembers(LineRefs_RelStructure value) {
setMembers(value);
return this;
}
@Override
public Network_VersionStructure withMainLineRef(LineRefStructure value) {
setMainLineRef(value);
return this;
}
@Override
public Network_VersionStructure withTransportMode(AllVehicleModesOfTransportEnumeration value) {
setTransportMode(value);
return this;
}
@Override
public Network_VersionStructure withTransportSubmode(TransportSubmodeStructure value) {
setTransportSubmode(value);
return this;
}
@Override
public Network_VersionStructure withGroupOfLinesType(GroupOfLinesTypeEnumeration value) {
setGroupOfLinesType(value);
return this;
}
@Override
public Network_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public Network_VersionStructure withShortName(MultilingualString value) {
setShortName(value);
return this;
}
@Override
public Network_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public Network_VersionStructure withPurposeOfGroupingRef(PurposeOfGroupingRefStructure value) {
setPurposeOfGroupingRef(value);
return this;
}
@Override
public Network_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public Network_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public Network_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public Network_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public Network_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public Network_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public Network_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public Network_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public Network_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public Network_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public Network_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public Network_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public Network_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public Network_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public Network_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public Network_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public Network_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public Network_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public Network_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public Network_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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy