All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rutebanken.netex.model.Line_VersionStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// 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.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.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for Line_VersionStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Line_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}DataManagedObjectStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}LineGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Line_VersionStructure", propOrder = { "name", "shortName", "description", "transportMode", "transportSubmode", "url", "publicCode", "privateCode", "externalLineRef", "authorityRef", "operatorRef", "additionalOperators", "otherModes", "operationalContextRef", "lineType", "typeOfLineRef", "externalProductCategoryRef", "monitored", "routes", "representedByGroupRef", "presentation", "alternativePresentation", "printedPresentation", "accessibilityAssessment", "allowedDirections", "noticeAssignments", "documentLinks" }) @XmlSeeAlso({ Line.class, FlexibleLine_VersionStructure.class }) public class Line_VersionStructure extends DataManagedObjectStructure { @XmlElement(name = "Name", required = true) protected MultilingualString name; @XmlElement(name = "ShortName") protected MultilingualString shortName; @XmlElement(name = "Description") protected MultilingualString description; @XmlElement(name = "TransportMode") @XmlSchemaType(name = "NMTOKEN") protected AllVehicleModesOfTransportEnumeration transportMode; @XmlElement(name = "TransportSubmode") protected TransportSubmodeStructure transportSubmode; @XmlElement(name = "Url") @XmlSchemaType(name = "anyURI") protected String url; @XmlElement(name = "PublicCode") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String publicCode; @XmlElement(name = "PrivateCode") protected PrivateCodeStructure privateCode; @XmlElement(name = "ExternalLineRef") protected ExternalObjectRefStructure externalLineRef; @XmlElement(name = "AuthorityRef") protected AuthorityRefStructure authorityRef; @XmlElement(name = "OperatorRef") protected OperatorRefStructure operatorRef; protected TransportOrganisationRefs_RelStructure additionalOperators; protected ModeRefs_RelStructure otherModes; @XmlElement(name = "OperationalContextRef") protected OperationalContextRefStructure operationalContextRef; @XmlElement(name = "LineType") @XmlSchemaType(name = "string") protected LineTypeEnumeration lineType; @XmlElement(name = "TypeOfLineRef") protected TypeOfLineRefStructure typeOfLineRef; @XmlElement(name = "ExternalProductCategoryRef") protected ExternalObjectRefStructure externalProductCategoryRef; @XmlElement(name = "Monitored") protected Boolean monitored; protected RouteRefs_RelStructure routes; @XmlElement(name = "RepresentedByGroupRef") protected GroupOfLinesRefStructure representedByGroupRef; @XmlElement(name = "Presentation") protected PresentationStructure presentation; @XmlElement(name = "AlternativePresentation") protected PresentationStructure alternativePresentation; @XmlElement(name = "PrintedPresentation") protected PrintPresentationStructure printedPresentation; @XmlElement(name = "AccessibilityAssessment") protected AccessibilityAssessment accessibilityAssessment; protected AllowedLineDirections_RelStructure allowedDirections; protected NoticeAssignments_RelStructure noticeAssignments; protected InfoLinks_RelStructure documentLinks; /** * Gets the value of the name property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setName(MultilingualString value) { this.name = value; } /** * Gets the value of the shortName property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getShortName() { return shortName; } /** * Sets the value of the shortName property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setShortName(MultilingualString value) { this.shortName = 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 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 url property. * * @return * possible object is * {@link String } * */ public String getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setUrl(String value) { this.url = value; } /** * Gets the value of the publicCode property. * * @return * possible object is * {@link String } * */ public String getPublicCode() { return publicCode; } /** * Sets the value of the publicCode property. * * @param value * allowed object is * {@link String } * */ public void setPublicCode(String value) { this.publicCode = value; } /** * Gets the value of the privateCode property. * * @return * possible object is * {@link PrivateCodeStructure } * */ public PrivateCodeStructure getPrivateCode() { return privateCode; } /** * Sets the value of the privateCode property. * * @param value * allowed object is * {@link PrivateCodeStructure } * */ public void setPrivateCode(PrivateCodeStructure value) { this.privateCode = value; } /** * Gets the value of the externalLineRef property. * * @return * possible object is * {@link ExternalObjectRefStructure } * */ public ExternalObjectRefStructure getExternalLineRef() { return externalLineRef; } /** * Sets the value of the externalLineRef property. * * @param value * allowed object is * {@link ExternalObjectRefStructure } * */ public void setExternalLineRef(ExternalObjectRefStructure value) { this.externalLineRef = value; } /** * Gets the value of the authorityRef property. * * @return * possible object is * {@link AuthorityRefStructure } * */ public AuthorityRefStructure getAuthorityRef() { return authorityRef; } /** * Sets the value of the authorityRef property. * * @param value * allowed object is * {@link AuthorityRefStructure } * */ public void setAuthorityRef(AuthorityRefStructure value) { this.authorityRef = value; } /** * Gets the value of the operatorRef property. * * @return * possible object is * {@link OperatorRefStructure } * */ public OperatorRefStructure getOperatorRef() { return operatorRef; } /** * Sets the value of the operatorRef property. * * @param value * allowed object is * {@link OperatorRefStructure } * */ public void setOperatorRef(OperatorRefStructure value) { this.operatorRef = value; } /** * Gets the value of the additionalOperators property. * * @return * possible object is * {@link TransportOrganisationRefs_RelStructure } * */ public TransportOrganisationRefs_RelStructure getAdditionalOperators() { return additionalOperators; } /** * Sets the value of the additionalOperators property. * * @param value * allowed object is * {@link TransportOrganisationRefs_RelStructure } * */ public void setAdditionalOperators(TransportOrganisationRefs_RelStructure value) { this.additionalOperators = value; } /** * Gets the value of the otherModes property. * * @return * possible object is * {@link ModeRefs_RelStructure } * */ public ModeRefs_RelStructure getOtherModes() { return otherModes; } /** * Sets the value of the otherModes property. * * @param value * allowed object is * {@link ModeRefs_RelStructure } * */ public void setOtherModes(ModeRefs_RelStructure value) { this.otherModes = value; } /** * Gets the value of the operationalContextRef property. * * @return * possible object is * {@link OperationalContextRefStructure } * */ public OperationalContextRefStructure getOperationalContextRef() { return operationalContextRef; } /** * Sets the value of the operationalContextRef property. * * @param value * allowed object is * {@link OperationalContextRefStructure } * */ public void setOperationalContextRef(OperationalContextRefStructure value) { this.operationalContextRef = value; } /** * Gets the value of the lineType property. * * @return * possible object is * {@link LineTypeEnumeration } * */ public LineTypeEnumeration getLineType() { return lineType; } /** * Sets the value of the lineType property. * * @param value * allowed object is * {@link LineTypeEnumeration } * */ public void setLineType(LineTypeEnumeration value) { this.lineType = value; } /** * Gets the value of the typeOfLineRef property. * * @return * possible object is * {@link TypeOfLineRefStructure } * */ public TypeOfLineRefStructure getTypeOfLineRef() { return typeOfLineRef; } /** * Sets the value of the typeOfLineRef property. * * @param value * allowed object is * {@link TypeOfLineRefStructure } * */ public void setTypeOfLineRef(TypeOfLineRefStructure value) { this.typeOfLineRef = value; } /** * Gets the value of the externalProductCategoryRef property. * * @return * possible object is * {@link ExternalObjectRefStructure } * */ public ExternalObjectRefStructure getExternalProductCategoryRef() { return externalProductCategoryRef; } /** * Sets the value of the externalProductCategoryRef property. * * @param value * allowed object is * {@link ExternalObjectRefStructure } * */ public void setExternalProductCategoryRef(ExternalObjectRefStructure value) { this.externalProductCategoryRef = 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 routes property. * * @return * possible object is * {@link RouteRefs_RelStructure } * */ public RouteRefs_RelStructure getRoutes() { return routes; } /** * Sets the value of the routes property. * * @param value * allowed object is * {@link RouteRefs_RelStructure } * */ public void setRoutes(RouteRefs_RelStructure value) { this.routes = value; } /** * Gets the value of the representedByGroupRef property. * * @return * possible object is * {@link GroupOfLinesRefStructure } * */ public GroupOfLinesRefStructure getRepresentedByGroupRef() { return representedByGroupRef; } /** * Sets the value of the representedByGroupRef property. * * @param value * allowed object is * {@link GroupOfLinesRefStructure } * */ public void setRepresentedByGroupRef(GroupOfLinesRefStructure value) { this.representedByGroupRef = value; } /** * Gets the value of the presentation property. * * @return * possible object is * {@link PresentationStructure } * */ public PresentationStructure getPresentation() { return presentation; } /** * Sets the value of the presentation property. * * @param value * allowed object is * {@link PresentationStructure } * */ public void setPresentation(PresentationStructure value) { this.presentation = value; } /** * Gets the value of the alternativePresentation property. * * @return * possible object is * {@link PresentationStructure } * */ public PresentationStructure getAlternativePresentation() { return alternativePresentation; } /** * Sets the value of the alternativePresentation property. * * @param value * allowed object is * {@link PresentationStructure } * */ public void setAlternativePresentation(PresentationStructure value) { this.alternativePresentation = value; } /** * Gets the value of the printedPresentation property. * * @return * possible object is * {@link PrintPresentationStructure } * */ public PrintPresentationStructure getPrintedPresentation() { return printedPresentation; } /** * Sets the value of the printedPresentation property. * * @param value * allowed object is * {@link PrintPresentationStructure } * */ public void setPrintedPresentation(PrintPresentationStructure value) { this.printedPresentation = 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 allowedDirections property. * * @return * possible object is * {@link AllowedLineDirections_RelStructure } * */ public AllowedLineDirections_RelStructure getAllowedDirections() { return allowedDirections; } /** * Sets the value of the allowedDirections property. * * @param value * allowed object is * {@link AllowedLineDirections_RelStructure } * */ public void setAllowedDirections(AllowedLineDirections_RelStructure value) { this.allowedDirections = 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; } /** * Gets the value of the documentLinks property. * * @return * possible object is * {@link InfoLinks_RelStructure } * */ public InfoLinks_RelStructure getDocumentLinks() { return documentLinks; } /** * Sets the value of the documentLinks property. * * @param value * allowed object is * {@link InfoLinks_RelStructure } * */ public void setDocumentLinks(InfoLinks_RelStructure value) { this.documentLinks = value; } public Line_VersionStructure withName(MultilingualString value) { setName(value); return this; } public Line_VersionStructure withShortName(MultilingualString value) { setShortName(value); return this; } public Line_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } public Line_VersionStructure withTransportMode(AllVehicleModesOfTransportEnumeration value) { setTransportMode(value); return this; } public Line_VersionStructure withTransportSubmode(TransportSubmodeStructure value) { setTransportSubmode(value); return this; } public Line_VersionStructure withUrl(String value) { setUrl(value); return this; } public Line_VersionStructure withPublicCode(String value) { setPublicCode(value); return this; } public Line_VersionStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } public Line_VersionStructure withExternalLineRef(ExternalObjectRefStructure value) { setExternalLineRef(value); return this; } public Line_VersionStructure withAuthorityRef(AuthorityRefStructure value) { setAuthorityRef(value); return this; } public Line_VersionStructure withOperatorRef(OperatorRefStructure value) { setOperatorRef(value); return this; } public Line_VersionStructure withAdditionalOperators(TransportOrganisationRefs_RelStructure value) { setAdditionalOperators(value); return this; } public Line_VersionStructure withOtherModes(ModeRefs_RelStructure value) { setOtherModes(value); return this; } public Line_VersionStructure withOperationalContextRef(OperationalContextRefStructure value) { setOperationalContextRef(value); return this; } public Line_VersionStructure withLineType(LineTypeEnumeration value) { setLineType(value); return this; } public Line_VersionStructure withTypeOfLineRef(TypeOfLineRefStructure value) { setTypeOfLineRef(value); return this; } public Line_VersionStructure withExternalProductCategoryRef(ExternalObjectRefStructure value) { setExternalProductCategoryRef(value); return this; } public Line_VersionStructure withMonitored(Boolean value) { setMonitored(value); return this; } public Line_VersionStructure withRoutes(RouteRefs_RelStructure value) { setRoutes(value); return this; } public Line_VersionStructure withRepresentedByGroupRef(GroupOfLinesRefStructure value) { setRepresentedByGroupRef(value); return this; } public Line_VersionStructure withPresentation(PresentationStructure value) { setPresentation(value); return this; } public Line_VersionStructure withAlternativePresentation(PresentationStructure value) { setAlternativePresentation(value); return this; } public Line_VersionStructure withPrintedPresentation(PrintPresentationStructure value) { setPrintedPresentation(value); return this; } public Line_VersionStructure withAccessibilityAssessment(AccessibilityAssessment value) { setAccessibilityAssessment(value); return this; } public Line_VersionStructure withAllowedDirections(AllowedLineDirections_RelStructure value) { setAllowedDirections(value); return this; } public Line_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) { setNoticeAssignments(value); return this; } public Line_VersionStructure withDocumentLinks(InfoLinks_RelStructure value) { setDocumentLinks(value); return this; } @Override public Line_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public Line_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public Line_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public Line_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public Line_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public Line_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public Line_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public Line_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public Line_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public Line_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public Line_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public Line_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public Line_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public Line_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public Line_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public Line_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public Line_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public Line_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public Line_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