/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2011, Geomatys * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotoolkit.ols.xml.v121; 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; import org.geotoolkit.gml.xml.v311.PointType; import org.geotoolkit.gml.xml.v311.CircleByCenterPointType; import org.geotoolkit.gml.xml.v311.MultiPolygonType; import org.geotoolkit.gml.xml.v311.PolygonType; /** * <p>Java class for PositionType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="PositionType"> * <complexContent> * <extension base="{http://www.opengis.net/xls}AbstractPositionType"> * <sequence> * <element ref="{http://www.opengis.net/gml}Point"/> * <choice minOccurs="0"> * <element ref="{http://www.opengis.net/xls}Ellipse"/> * <element ref="{http://www.opengis.net/gml}CircleByCenterPoint"/> * <element ref="{http://www.opengis.net/xls}CircularArc"/> * <element ref="{http://www.opengis.net/gml}Polygon"/> * <element ref="{http://www.opengis.net/gml}MultiPolygon"/> * </choice> * <element name="QoP" type="{http://www.opengis.net/xls}QualityOfPositionType" minOccurs="0"/> * <element ref="{http://www.opengis.net/xls}Time" minOccurs="0"/> * <element name="Speed" type="{http://www.opengis.net/xls}SpeedType" minOccurs="0"/> * <element name="Direction" type="{http://www.opengis.net/xls}AngleType" minOccurs="0"/> * </sequence> * <attribute name="levelOfConf" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PositionType", propOrder = { "point", "ellipse", "circleByCenterPoint", "circularArc", "polygon", "multiPolygon", "qoP", "time", "speed", "direction" }) public class PositionType extends AbstractPositionType { @XmlElement(name = "Point", namespace = "http://www.opengis.net/gml", required = true) private PointType point; @XmlElement(name = "Ellipse") private EllipseType ellipse; @XmlElement(name = "CircleByCenterPoint", namespace = "http://www.opengis.net/gml") private CircleByCenterPointType circleByCenterPoint; @XmlElement(name = "CircularArc") private CircularArcType circularArc; @XmlElement(name = "Polygon", namespace = "http://www.opengis.net/gml") private PolygonType polygon; @XmlElement(name = "MultiPolygon", namespace = "http://www.opengis.net/gml") private MultiPolygonType multiPolygon; @XmlElement(name = "QoP") private QualityOfPositionType qoP; @XmlElement(name = "Time") private TimeType time; @XmlElement(name = "Speed") private SpeedType speed; @XmlElement(name = "Direction") private AngleType direction; @XmlAttribute private String levelOfConf; /** * Gets the value of the point property. * * @return * possible object is * {@link PointType } * */ public PointType getPoint() { return point; } /** * Sets the value of the point property. * * @param value * allowed object is * {@link PointType } * */ public void setPoint(PointType value) { this.point = value; } /** * Gets the value of the ellipse property. * * @return * possible object is * {@link EllipseType } * */ public EllipseType getEllipse() { return ellipse; } /** * Sets the value of the ellipse property. * * @param value * allowed object is * {@link EllipseType } * */ public void setEllipse(EllipseType value) { this.ellipse = value; } /** * Gets the value of the circleByCenterPoint property. * * @return * possible object is * {@link CircleByCenterPointType } * */ public CircleByCenterPointType getCircleByCenterPoint() { return circleByCenterPoint; } /** * Sets the value of the circleByCenterPoint property. * * @param value * allowed object is * {@link CircleByCenterPointType } * */ public void setCircleByCenterPoint(CircleByCenterPointType value) { this.circleByCenterPoint = value; } /** * Gets the value of the circularArc property. * * @return * possible object is * {@link CircularArcType } * */ public CircularArcType getCircularArc() { return circularArc; } /** * Sets the value of the circularArc property. * * @param value * allowed object is * {@link CircularArcType } * */ public void setCircularArc(CircularArcType value) { this.circularArc = value; } /** * Gets the value of the polygon property. * * @return * possible object is * {@link PolygonType } * */ public PolygonType getPolygon() { return polygon; } /** * Sets the value of the polygon property. * * @param value * allowed object is * {@link PolygonType } * */ public void setPolygon(PolygonType value) { this.polygon = value; } /** * Gets the value of the multiPolygon property. * * @return * possible object is * {@link MultiPolygonType } * */ public MultiPolygonType getMultiPolygon() { return multiPolygon; } /** * Sets the value of the multiPolygon property. * * @param value * allowed object is * {@link MultiPolygonType } * */ public void setMultiPolygon(MultiPolygonType value) { this.multiPolygon = value; } /** * Gets the value of the qoP property. * * @return * possible object is * {@link QualityOfPositionType } * */ public QualityOfPositionType getQoP() { return qoP; } /** * Sets the value of the qoP property. * * @param value * allowed object is * {@link QualityOfPositionType } * */ public void setQoP(QualityOfPositionType value) { this.qoP = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link TimeType } * */ public TimeType getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link TimeType } * */ public void setTime(TimeType value) { this.time = value; } /** * Gets the value of the speed property. * * @return * possible object is * {@link SpeedType } * */ public SpeedType getSpeed() { return speed; } /** * Sets the value of the speed property. * * @param value * allowed object is * {@link SpeedType } * */ public void setSpeed(SpeedType value) { this.speed = value; } /** * Gets the value of the direction property. * * @return * possible object is * {@link AngleType } * */ public AngleType getDirection() { return direction; } /** * Sets the value of the direction property. * * @param value * allowed object is * {@link AngleType } * */ public void setDirection(AngleType value) { this.direction = value; } /** * Gets the value of the levelOfConf property. * * @return * possible object is * {@link String } * */ public String getLevelOfConf() { return levelOfConf; } /** * Sets the value of the levelOfConf property. * * @param value * allowed object is * {@link String } * */ public void setLevelOfConf(String value) { this.levelOfConf = value; } }