//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package net.opengis.gml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* OrientableCurve consists of a curve and an orientation. If the orientation is "+", then the OrientableCurve is identical to the baseCurve. If the orientation is "-", then the OrientableCurve is related to another _Curve with a parameterization that reverses the sense of the curve traversal.
*
* <p>Java-Klasse für OrientableCurveType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="OrientableCurveType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}AbstractCurveType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}baseCurve"/>
* </sequence>
* <attribute name="orientation" type="{http://www.opengis.net/gml}SignType" default="+" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OrientableCurveType", propOrder = {
"baseCurve"
})
public class OrientableCurveType
extends AbstractCurveType
{
@XmlElement(required = true)
protected CurvePropertyType baseCurve;
@XmlAttribute(name = "orientation")
protected String orientation;
/**
* References or contains the base curve (positive orientation).
* NOTE: This definition allows for a nested structure, i.e. an OrientableCurve may use another OrientableCurve as its base curve.
*
* @return
* possible object is
* {@link CurvePropertyType }
*
*/
public CurvePropertyType getBaseCurve() {
return baseCurve;
}
/**
* Legt den Wert der baseCurve-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CurvePropertyType }
*
*/
public void setBaseCurve(CurvePropertyType value) {
this.baseCurve = value;
}
public boolean isSetBaseCurve() {
return (this.baseCurve!= null);
}
/**
* Ruft den Wert der orientation-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrientation() {
if (orientation == null) {
return "+";
} else {
return orientation;
}
}
/**
* Legt den Wert der orientation-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrientation(String value) {
this.orientation = value;
}
public boolean isSetOrientation() {
return (this.orientation!= null);
}
}