//
// 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* OrientableSurface consists of a surface and an orientation. If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a Surface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface".
*
* <p>Java-Klasse für OrientableSurfaceType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="OrientableSurfaceType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}AbstractSurfaceType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}baseSurface"/>
* </sequence>
* <attribute name="orientation" type="{http://www.opengis.net/gml}SignType" default="+" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OrientableSurfaceType", propOrder = {
"baseSurface"
})
@XmlSeeAlso({
net.opengis.citygml.texturedsurface._1.TexturedSurfaceType.class,
net.opengis.citygml.texturedsurface._2.TexturedSurfaceType.class
})
public class OrientableSurfaceType
extends AbstractSurfaceType
{
@XmlElement(required = true)
protected SurfacePropertyType baseSurface;
@XmlAttribute(name = "orientation")
protected String orientation;
/**
* References or contains the base surface (positive orientation).
*
* @return
* possible object is
* {@link SurfacePropertyType }
*
*/
public SurfacePropertyType getBaseSurface() {
return baseSurface;
}
/**
* Legt den Wert der baseSurface-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link SurfacePropertyType }
*
*/
public void setBaseSurface(SurfacePropertyType value) {
this.baseSurface = value;
}
public boolean isSetBaseSurface() {
return (this.baseSurface!= 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);
}
}