
de.vdv.ojp20.GeoRestrictionsStructure 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;
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;
/**
* Java class for GeoRestrictionsStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GeoRestrictionsStructure", propOrder = {
"circle",
"rectangle",
"area"
})
public class GeoRestrictionsStructure {
/**
* Area defined by a circle.
*
*/
@XmlElement(name = "Circle")
protected GeoCircleStructure circle;
/**
* Area defined by a rectangle.
*
*/
@XmlElement(name = "Rectangle")
protected GeoRectangleStructure rectangle;
/**
* Area defined by a polyline.
*
*/
@XmlElement(name = "Area")
protected GeoAreaStructure area;
/**
* Area defined by a circle.
*
* @return
* possible object is
* {@link GeoCircleStructure }
*
*/
public GeoCircleStructure getCircle() {
return circle;
}
/**
* Sets the value of the circle property.
*
* @param value
* allowed object is
* {@link GeoCircleStructure }
*
* @see #getCircle()
*/
public void setCircle(GeoCircleStructure value) {
this.circle = value;
}
/**
* Area defined by a rectangle.
*
* @return
* possible object is
* {@link GeoRectangleStructure }
*
*/
public GeoRectangleStructure getRectangle() {
return rectangle;
}
/**
* Sets the value of the rectangle property.
*
* @param value
* allowed object is
* {@link GeoRectangleStructure }
*
* @see #getRectangle()
*/
public void setRectangle(GeoRectangleStructure value) {
this.rectangle = value;
}
/**
* Area defined by a polyline.
*
* @return
* possible object is
* {@link GeoAreaStructure }
*
*/
public GeoAreaStructure getArea() {
return area;
}
/**
* Sets the value of the area property.
*
* @param value
* allowed object is
* {@link GeoAreaStructure }
*
* @see #getArea()
*/
public void setArea(GeoAreaStructure value) {
this.area = value;
}
public GeoRestrictionsStructure withCircle(GeoCircleStructure value) {
setCircle(value);
return this;
}
public GeoRestrictionsStructure withRectangle(GeoRectangleStructure value) {
setRectangle(value);
return this;
}
public GeoRestrictionsStructure withArea(GeoAreaStructure value) {
setArea(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