eu.agrosense.api.drmcrop.Point Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.07.06 at 10:13:00 AM CEST
//
package eu.agrosense.api.drmcrop;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
/**
* Java class for Point complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Point">
* <complexContent>
* <extension base="{http://www.opengis.net/gml/3.2}AbstractGeometricPrimitive">
* <sequence>
* <choice>
* <element ref="{http://www.opengis.net/gml/3.2}pos"/>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Point", namespace = "http://www.opengis.net/gml/3.2", propOrder = {
"pos"
})
public class Point
extends AbstractGeometricPrimitive
implements ToString
{
@XmlElement(namespace = "http://www.opengis.net/gml/3.2")
protected DirectPositionType pos;
/**
* Gets the value of the pos property.
*
* @return
* possible object is
* {@link DirectPositionType }
*
*/
public DirectPositionType getPos() {
return pos;
}
/**
* Sets the value of the pos property.
*
* @param value
* allowed object is
* {@link DirectPositionType }
*
*/
public void setPos(DirectPositionType value) {
this.pos = value;
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
super.appendFields(locator, buffer, strategy);
{
DirectPositionType thePos;
thePos = this.getPos();
strategy.appendField(locator, this, "pos", buffer, thePos);
}
return buffer;
}
public Point withPos(DirectPositionType value) {
setPos(value);
return this;
}
@Override
public Point withSrsName(String value) {
setSrsName(value);
return this;
}
@Override
public Point withSrsDimension(BigInteger value) {
setSrsDimension(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy