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

org.rutebanken.netex.model.DistanceMatrixElementRefByValueStructure 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.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 DistanceMatrixElementRefByValueStructure complex type. * *

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

 * <complexType name="DistanceMatrixElementRefByValueStructure">
 *   <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="fromRef" use="required" type="{http://www.netex.org.uk/netex}ObjectIdType" />
 *       <attribute name="toRef" use="required" type="{http://www.netex.org.uk/netex}ObjectIdType" />
 *       <attribute name="nameOfPointRefClass" type="{http://www.netex.org.uk/netex}NameOfClass" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DistanceMatrixElementRefByValueStructure") public class DistanceMatrixElementRefByValueStructure { @XmlAttribute(name = "nameOfClass") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String nameOfClass; @XmlAttribute(name = "fromRef", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String fromRef; @XmlAttribute(name = "toRef", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String toRef; @XmlAttribute(name = "nameOfPointRefClass") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String nameOfPointRefClass; @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 fromRef property. * * @return * possible object is * {@link String } * */ public String getFromRef() { return fromRef; } /** * Sets the value of the fromRef property. * * @param value * allowed object is * {@link String } * */ public void setFromRef(String value) { this.fromRef = value; } /** * Gets the value of the toRef property. * * @return * possible object is * {@link String } * */ public String getToRef() { return toRef; } /** * Sets the value of the toRef property. * * @param value * allowed object is * {@link String } * */ public void setToRef(String value) { this.toRef = 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 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 DistanceMatrixElementRefByValueStructure withNameOfClass(String value) { setNameOfClass(value); return this; } public DistanceMatrixElementRefByValueStructure withFromRef(String value) { setFromRef(value); return this; } public DistanceMatrixElementRefByValueStructure withToRef(String value) { setToRef(value); return this; } public DistanceMatrixElementRefByValueStructure withNameOfPointRefClass(String value) { setNameOfPointRefClass(value); return this; } public DistanceMatrixElementRefByValueStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } public DistanceMatrixElementRefByValueStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } public DistanceMatrixElementRefByValueStructure 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