//
// 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 java.util.ArrayList;
import java.util.List;
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.XmlElements;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* A GeodesicString consists of sequence of
* geodesic segments. The type essentially combines a sequence of
* Geodesic into a single object.
* The GeodesicString is computed from two or more positions and an
* interpolation using geodesics defined from the geoid (or
* ellipsoid) of the co-ordinate reference system being used.
*
* <p>Java-Klasse für GeodesicStringType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="GeodesicStringType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType">
* <choice>
* <element ref="{http://www.opengis.net/gml}posList"/>
* <group ref="{http://www.opengis.net/gml}geometricPositionGroup" maxOccurs="unbounded" minOccurs="2"/>
* </choice>
* <attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" fixed="geodesic" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GeodesicStringType", propOrder = {
"posList",
"geometricPositionGroup"
})
@XmlSeeAlso({
GeodesicType.class
})
public class GeodesicStringType
extends AbstractCurveSegmentType
{
protected DirectPositionListType posList;
@XmlElements({
@XmlElement(name = "pos", type = DirectPositionType.class),
@XmlElement(name = "pointProperty", type = PointPropertyType.class)
})
protected List<Object> geometricPositionGroup;
@XmlAttribute(name = "interpolation")
protected CurveInterpolationType interpolation;
/**
* Ruft den Wert der posList-Eigenschaft ab.
*
* @return
* possible object is
* {@link DirectPositionListType }
*
*/
public DirectPositionListType getPosList() {
return posList;
}
/**
* Legt den Wert der posList-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link DirectPositionListType }
*
*/
public void setPosList(DirectPositionListType value) {
this.posList = value;
}
public boolean isSetPosList() {
return (this.posList!= null);
}
/**
* Gets the value of the geometricPositionGroup property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the geometricPositionGroup property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGeometricPositionGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DirectPositionType }
* {@link PointPropertyType }
*
*
*/
public List<Object> getGeometricPositionGroup() {
if (geometricPositionGroup == null) {
geometricPositionGroup = new ArrayList<Object>();
}
return this.geometricPositionGroup;
}
public boolean isSetGeometricPositionGroup() {
return ((this.geometricPositionGroup!= null)&&(!this.geometricPositionGroup.isEmpty()));
}
public void unsetGeometricPositionGroup() {
this.geometricPositionGroup = null;
}
/**
* Ruft den Wert der interpolation-Eigenschaft ab.
*
* @return
* possible object is
* {@link CurveInterpolationType }
*
*/
public CurveInterpolationType getInterpolation() {
if (interpolation == null) {
return CurveInterpolationType.GEODESIC;
} else {
return interpolation;
}
}
/**
* Legt den Wert der interpolation-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link CurveInterpolationType }
*
*/
public void setInterpolation(CurveInterpolationType value) {
this.interpolation = value;
}
public boolean isSetInterpolation() {
return (this.interpolation!= null);
}
public void setGeometricPositionGroup(List<Object> value) {
this.geometricPositionGroup = value;
}
}