/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, 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.gml.xml.v311;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Direction expressed as a vector, either using components, or using angles.
*
* <p>Java class for DirectionVectorType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DirectionVectorType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element ref="{http://www.opengis.net/gml}vector"/>
* <sequence>
* <element name="horizontalAngle" type="{http://www.opengis.net/gml}AngleType"/>
* <element name="verticalAngle" type="{http://www.opengis.net/gml}AngleType"/>
* </sequence>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DirectionVectorType", propOrder = {
"vector",
"horizontalAngle",
"verticalAngle"
})
public class DirectionVectorType {
private VectorType vector;
private AngleType horizontalAngle;
private AngleType verticalAngle;
/**
* Gets the value of the vector property.
*
* @return
* possible object is
* {@link VectorType }
*
*/
public VectorType getVector() {
return vector;
}
/**
* Sets the value of the vector property.
*
* @param value
* allowed object is
* {@link VectorType }
*
*/
public void setVector(final VectorType value) {
this.vector = value;
}
/**
* Gets the value of the horizontalAngle property.
*
* @return
* possible object is
* {@link AngleType }
*
*/
public AngleType getHorizontalAngle() {
return horizontalAngle;
}
/**
* Sets the value of the horizontalAngle property.
*
* @param value
* allowed object is
* {@link AngleType }
*
*/
public void setHorizontalAngle(final AngleType value) {
this.horizontalAngle = value;
}
/**
* Gets the value of the verticalAngle property.
*
* @return
* possible object is
* {@link AngleType }
*
*/
public AngleType getVerticalAngle() {
return verticalAngle;
}
/**
* Sets the value of the verticalAngle property.
*
* @param value
* allowed object is
* {@link AngleType }
*
*/
public void setVerticalAngle(final AngleType value) {
this.verticalAngle = value;
}
}