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

org.rutebanken.netex.model.LinkRefByValueStructure 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateTimeISO8601XmlAdapter;


/**
 * 

Java class for LinkRefByValueStructure complex type. * *

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

 * <complexType name="LinkRefByValueStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attGroup ref="{http://www.netex.org.uk/netex}ReferenceModificationDetailsGroup"/>
 *       <attribute name="nameOfClass" type="{http://www.netex.org.uk/netex}NameOfClass" />
 *       <attribute name="fromPointRef" use="required" type="{http://www.netex.org.uk/netex}PointIdType" />
 *       <attribute name="toPointRef" use="required" type="{http://www.netex.org.uk/netex}PointIdType" />
 *       <attribute name="nameOfPointRefClass" type="{http://www.netex.org.uk/netex}NameOfClass" />
 *       <attribute name="typeOfLinkRef" type="{http://www.netex.org.uk/netex}TypeOfLinkIdType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LinkRefByValueStructure") @XmlSeeAlso({ ModalLinkRefByValueStructure.class, ActivationLinkRefByValueStructure.class, RailwayLinkRefByValueStructure.class, RoadLinkRefByValueStructure.class, WireLinkRefByValueStructure.class, RouteLinkRefByValueStructure.class, TimingLinkRefByValueStructure.class, PathLinkRefByValueStructure.class, LineLinkRefByValueStructure.class, ServiceLinkRefByValueStructure.class }) public class LinkRefByValueStructure { @XmlAttribute(name = "nameOfClass") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String nameOfClass; @XmlAttribute(name = "fromPointRef", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String fromPointRef; @XmlAttribute(name = "toPointRef", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String toPointRef; @XmlAttribute(name = "nameOfPointRefClass") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String nameOfPointRefClass; @XmlAttribute(name = "typeOfLinkRef") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String typeOfLinkRef; @XmlAttribute(name = "created") @XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "dateTime") protected OffsetDateTime created; @XmlAttribute(name = "changed") @XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "dateTime") protected OffsetDateTime changed; @XmlAttribute(name = "version") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String version; /** * Gets the value of the nameOfClass property. * * @return * possible object is * {@link String } * */ public String getNameOfClass() { return nameOfClass; } /** * Sets the value of the nameOfClass property. * * @param value * allowed object is * {@link String } * */ public void setNameOfClass(String value) { this.nameOfClass = value; } /** * Gets the value of the fromPointRef property. * * @return * possible object is * {@link String } * */ public String getFromPointRef() { return fromPointRef; } /** * Sets the value of the fromPointRef property. * * @param value * allowed object is * {@link String } * */ public void setFromPointRef(String value) { this.fromPointRef = value; } /** * Gets the value of the toPointRef property. * * @return * possible object is * {@link String } * */ public String getToPointRef() { return toPointRef; } /** * Sets the value of the toPointRef property. * * @param value * allowed object is * {@link String } * */ public void setToPointRef(String value) { this.toPointRef = value; } /** * Gets the value of the nameOfPointRefClass property. * * @return * possible object is * {@link String } * */ public String getNameOfPointRefClass() { return nameOfPointRefClass; } /** * Sets the value of the nameOfPointRefClass property. * * @param value * allowed object is * {@link String } * */ public void setNameOfPointRefClass(String value) { this.nameOfPointRefClass = value; } /** * Gets the value of the typeOfLinkRef property. * * @return * possible object is * {@link String } * */ public String getTypeOfLinkRef() { return typeOfLinkRef; } /** * Sets the value of the typeOfLinkRef property. * * @param value * allowed object is * {@link String } * */ public void setTypeOfLinkRef(String value) { this.typeOfLinkRef = value; } /** * Gets the value of the created property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getCreated() { return created; } /** * Sets the value of the created property. * * @param value * allowed object is * {@link String } * */ public void setCreated(OffsetDateTime value) { this.created = value; } /** * Gets the value of the changed property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getChanged() { return changed; } /** * Sets the value of the changed property. * * @param value * allowed object is * {@link String } * */ public void setChanged(OffsetDateTime value) { this.changed = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } public LinkRefByValueStructure withNameOfClass(String value) { setNameOfClass(value); return this; } public LinkRefByValueStructure withFromPointRef(String value) { setFromPointRef(value); return this; } public LinkRefByValueStructure withToPointRef(String value) { setToPointRef(value); return this; } public LinkRefByValueStructure withNameOfPointRefClass(String value) { setNameOfPointRefClass(value); return this; } public LinkRefByValueStructure withTypeOfLinkRef(String value) { setTypeOfLinkRef(value); return this; } public LinkRefByValueStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } public LinkRefByValueStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } public LinkRefByValueStructure withVersion(String value) { setVersion(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