org.rutebanken.netex.model.Journey_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.math.BigDecimal;
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.XmlElement;
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 Journey_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Journey_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}LinkSequence_VersionStructure">
* <group ref="{http://www.netex.org.uk/netex}JourneyGroup"/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Journey_VersionStructure", propOrder = {
"description",
"transportMode",
"transportSubmode",
"externalVehicleJourneyRef",
"typeOfProductCategoryRef",
"typeOfServiceRef",
"linkSequenceProjectionRef",
"linkSequenceProjection",
"monitored",
"accessibilityAssessment",
"journeyAccountings",
"noticeAssignments"
})
@XmlSeeAlso({
Journey.class,
TemplateVehicleJourney_VersionStructure.class,
ServiceJourney_VersionStructure.class,
VehicleJourney_VersionStructure.class,
SpecialService_VersionStructure.class
})
public class Journey_VersionStructure
extends LinkSequence_VersionStructure
{
@XmlElement(name = "Description")
protected MultilingualString description;
@XmlElement(name = "TransportMode")
@XmlSchemaType(name = "NMTOKEN")
protected AllVehicleModesOfTransportEnumeration transportMode;
@XmlElement(name = "TransportSubmode")
protected TransportSubmodeStructure transportSubmode;
@XmlElement(name = "ExternalVehicleJourneyRef")
protected ExternalObjectRefStructure externalVehicleJourneyRef;
@XmlElement(name = "TypeOfProductCategoryRef")
protected TypeOfProductCategoryRefStructure typeOfProductCategoryRef;
@XmlElement(name = "TypeOfServiceRef")
protected TypeOfServiceRefStructure typeOfServiceRef;
@XmlElement(name = "LinkSequenceProjectionRef")
protected LinkSequenceProjectionRefStructure linkSequenceProjectionRef;
@XmlElement(name = "LinkSequenceProjection")
protected LinkSequenceProjection linkSequenceProjection;
@XmlElement(name = "Monitored")
protected Boolean monitored;
@XmlElement(name = "AccessibilityAssessment")
protected AccessibilityAssessment accessibilityAssessment;
protected JourneyAccountings_RelStructure journeyAccountings;
protected NoticeAssignments_RelStructure noticeAssignments;
/**
* 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 transportMode property.
*
* @return
* possible object is
* {@link AllVehicleModesOfTransportEnumeration }
*
*/
public AllVehicleModesOfTransportEnumeration getTransportMode() {
return transportMode;
}
/**
* Sets the value of the transportMode property.
*
* @param value
* allowed object is
* {@link AllVehicleModesOfTransportEnumeration }
*
*/
public void setTransportMode(AllVehicleModesOfTransportEnumeration value) {
this.transportMode = value;
}
/**
* Gets the value of the transportSubmode property.
*
* @return
* possible object is
* {@link TransportSubmodeStructure }
*
*/
public TransportSubmodeStructure getTransportSubmode() {
return transportSubmode;
}
/**
* Sets the value of the transportSubmode property.
*
* @param value
* allowed object is
* {@link TransportSubmodeStructure }
*
*/
public void setTransportSubmode(TransportSubmodeStructure value) {
this.transportSubmode = value;
}
/**
* Gets the value of the externalVehicleJourneyRef property.
*
* @return
* possible object is
* {@link ExternalObjectRefStructure }
*
*/
public ExternalObjectRefStructure getExternalVehicleJourneyRef() {
return externalVehicleJourneyRef;
}
/**
* Sets the value of the externalVehicleJourneyRef property.
*
* @param value
* allowed object is
* {@link ExternalObjectRefStructure }
*
*/
public void setExternalVehicleJourneyRef(ExternalObjectRefStructure value) {
this.externalVehicleJourneyRef = value;
}
/**
* Gets the value of the typeOfProductCategoryRef property.
*
* @return
* possible object is
* {@link TypeOfProductCategoryRefStructure }
*
*/
public TypeOfProductCategoryRefStructure getTypeOfProductCategoryRef() {
return typeOfProductCategoryRef;
}
/**
* Sets the value of the typeOfProductCategoryRef property.
*
* @param value
* allowed object is
* {@link TypeOfProductCategoryRefStructure }
*
*/
public void setTypeOfProductCategoryRef(TypeOfProductCategoryRefStructure value) {
this.typeOfProductCategoryRef = value;
}
/**
* Gets the value of the typeOfServiceRef property.
*
* @return
* possible object is
* {@link TypeOfServiceRefStructure }
*
*/
public TypeOfServiceRefStructure getTypeOfServiceRef() {
return typeOfServiceRef;
}
/**
* Sets the value of the typeOfServiceRef property.
*
* @param value
* allowed object is
* {@link TypeOfServiceRefStructure }
*
*/
public void setTypeOfServiceRef(TypeOfServiceRefStructure value) {
this.typeOfServiceRef = value;
}
/**
* Gets the value of the linkSequenceProjectionRef property.
*
* @return
* possible object is
* {@link LinkSequenceProjectionRefStructure }
*
*/
public LinkSequenceProjectionRefStructure getLinkSequenceProjectionRef() {
return linkSequenceProjectionRef;
}
/**
* Sets the value of the linkSequenceProjectionRef property.
*
* @param value
* allowed object is
* {@link LinkSequenceProjectionRefStructure }
*
*/
public void setLinkSequenceProjectionRef(LinkSequenceProjectionRefStructure value) {
this.linkSequenceProjectionRef = value;
}
/**
* Gets the value of the linkSequenceProjection property.
*
* @return
* possible object is
* {@link LinkSequenceProjection }
*
*/
public LinkSequenceProjection getLinkSequenceProjection() {
return linkSequenceProjection;
}
/**
* Sets the value of the linkSequenceProjection property.
*
* @param value
* allowed object is
* {@link LinkSequenceProjection }
*
*/
public void setLinkSequenceProjection(LinkSequenceProjection value) {
this.linkSequenceProjection = value;
}
/**
* Gets the value of the monitored property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMonitored() {
return monitored;
}
/**
* Sets the value of the monitored property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMonitored(Boolean value) {
this.monitored = value;
}
/**
* Gets the value of the accessibilityAssessment property.
*
* @return
* possible object is
* {@link AccessibilityAssessment }
*
*/
public AccessibilityAssessment getAccessibilityAssessment() {
return accessibilityAssessment;
}
/**
* Sets the value of the accessibilityAssessment property.
*
* @param value
* allowed object is
* {@link AccessibilityAssessment }
*
*/
public void setAccessibilityAssessment(AccessibilityAssessment value) {
this.accessibilityAssessment = value;
}
/**
* Gets the value of the journeyAccountings property.
*
* @return
* possible object is
* {@link JourneyAccountings_RelStructure }
*
*/
public JourneyAccountings_RelStructure getJourneyAccountings() {
return journeyAccountings;
}
/**
* Sets the value of the journeyAccountings property.
*
* @param value
* allowed object is
* {@link JourneyAccountings_RelStructure }
*
*/
public void setJourneyAccountings(JourneyAccountings_RelStructure value) {
this.journeyAccountings = value;
}
/**
* Gets the value of the noticeAssignments property.
*
* @return
* possible object is
* {@link NoticeAssignments_RelStructure }
*
*/
public NoticeAssignments_RelStructure getNoticeAssignments() {
return noticeAssignments;
}
/**
* Sets the value of the noticeAssignments property.
*
* @param value
* allowed object is
* {@link NoticeAssignments_RelStructure }
*
*/
public void setNoticeAssignments(NoticeAssignments_RelStructure value) {
this.noticeAssignments = value;
}
public Journey_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
public Journey_VersionStructure withTransportMode(AllVehicleModesOfTransportEnumeration value) {
setTransportMode(value);
return this;
}
public Journey_VersionStructure withTransportSubmode(TransportSubmodeStructure value) {
setTransportSubmode(value);
return this;
}
public Journey_VersionStructure withExternalVehicleJourneyRef(ExternalObjectRefStructure value) {
setExternalVehicleJourneyRef(value);
return this;
}
public Journey_VersionStructure withTypeOfProductCategoryRef(TypeOfProductCategoryRefStructure value) {
setTypeOfProductCategoryRef(value);
return this;
}
public Journey_VersionStructure withTypeOfServiceRef(TypeOfServiceRefStructure value) {
setTypeOfServiceRef(value);
return this;
}
public Journey_VersionStructure withLinkSequenceProjectionRef(LinkSequenceProjectionRefStructure value) {
setLinkSequenceProjectionRef(value);
return this;
}
public Journey_VersionStructure withLinkSequenceProjection(LinkSequenceProjection value) {
setLinkSequenceProjection(value);
return this;
}
public Journey_VersionStructure withMonitored(Boolean value) {
setMonitored(value);
return this;
}
public Journey_VersionStructure withAccessibilityAssessment(AccessibilityAssessment value) {
setAccessibilityAssessment(value);
return this;
}
public Journey_VersionStructure withJourneyAccountings(JourneyAccountings_RelStructure value) {
setJourneyAccountings(value);
return this;
}
public Journey_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) {
setNoticeAssignments(value);
return this;
}
@Override
public Journey_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public Journey_VersionStructure withShortName(MultilingualString value) {
setShortName(value);
return this;
}
@Override
public Journey_VersionStructure withDistance(BigDecimal value) {
setDistance(value);
return this;
}
@Override
public Journey_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public Journey_VersionStructure withSectionsInSequence(SectionsInSequence_RelStructure value) {
setSectionsInSequence(value);
return this;
}
@Override
public Journey_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public Journey_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public Journey_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public Journey_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public Journey_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public Journey_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public Journey_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public Journey_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public Journey_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public Journey_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public Journey_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public Journey_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public Journey_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public Journey_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public Journey_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public Journey_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public Journey_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public Journey_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public Journey_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