
de.vdv.ojp20.siri.AffectedRoadStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import eu.datex2.schema._2_0rc1._2_0.RoadsideReferencePointLinear;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import uk.org.ifopt.ifopt.LinkProjectionStructure;
/**
* Java class for AffectedRoadStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedRoadStructure", propOrder = {
"road",
"linkProjection",
"offset",
"extensions"
})
public class AffectedRoadStructure {
@XmlElement(name = "Road")
protected RoadsideReferencePointLinear road;
@XmlElement(name = "LinkProjection")
protected LinkProjectionStructure linkProjection;
@XmlElement(name = "Offset")
protected OffsetStructure offset;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the road property.
*
* @return
* possible object is
* {@link RoadsideReferencePointLinear }
*
*/
public RoadsideReferencePointLinear getRoad() {
return road;
}
/**
* Sets the value of the road property.
*
* @param value
* allowed object is
* {@link RoadsideReferencePointLinear }
*
*/
public void setRoad(RoadsideReferencePointLinear value) {
this.road = value;
}
/**
* Gets the value of the linkProjection property.
*
* @return
* possible object is
* {@link LinkProjectionStructure }
*
*/
public LinkProjectionStructure getLinkProjection() {
return linkProjection;
}
/**
* Sets the value of the linkProjection property.
*
* @param value
* allowed object is
* {@link LinkProjectionStructure }
*
*/
public void setLinkProjection(LinkProjectionStructure value) {
this.linkProjection = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link OffsetStructure }
*
*/
public OffsetStructure getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link OffsetStructure }
*
*/
public void setOffset(OffsetStructure value) {
this.offset = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
public AffectedRoadStructure withRoad(RoadsideReferencePointLinear value) {
setRoad(value);
return this;
}
public AffectedRoadStructure withLinkProjection(LinkProjectionStructure value) {
setLinkProjection(value);
return this;
}
public AffectedRoadStructure withOffset(OffsetStructure value) {
setOffset(value);
return this;
}
public AffectedRoadStructure withExtensions(ExtensionsStructure value) {
setExtensions(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 - 2025 Weber Informatics LLC | Privacy Policy