eu.agrosense.api.drmcrop.AbstractCurve 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.XmlSeeAlso;
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;
/**
* gml:AbstractCurveType is an abstraction of a curve to support the different levels of complexity. The curve may always be viewed as a geometric primitive, i.e. is continuous.
*
* Java class for AbstractCurve complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AbstractCurve">
* <complexContent>
* <extension base="{http://www.opengis.net/gml/3.2}AbstractGeometricPrimitive">
* <sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractCurve", namespace = "http://www.opengis.net/gml/3.2")
@XmlSeeAlso({
LineString.class
})
public abstract class AbstractCurve
extends AbstractGeometricPrimitive
implements ToString
{
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);
return buffer;
}
@Override
public AbstractCurve withSrsName(String value) {
setSrsName(value);
return this;
}
@Override
public AbstractCurve withSrsDimension(BigInteger value) {
setSrsDimension(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy