/*
* 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 java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Angle value provided in degree-minute-second or degree-minute format.
*
* <p>Java class for DMSAngleType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DMSAngleType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}degrees"/>
* <choice minOccurs="0">
* <element ref="{http://www.opengis.net/gml}decimalMinutes"/>
* <sequence>
* <element ref="{http://www.opengis.net/gml}minutes"/>
* <element ref="{http://www.opengis.net/gml}seconds" minOccurs="0"/>
* </sequence>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DMSAngleType", propOrder = {
"degrees",
"decimalMinutes",
"minutes",
"seconds"
})
public class DMSAngleType {
@XmlElement(required = true)
protected DegreesType degrees;
protected BigDecimal decimalMinutes;
protected Integer minutes;
protected BigDecimal seconds;
/**
* Gets the value of the degrees property.
*
* @return
* possible object is
* {@link DegreesType }
*
*/
public DegreesType getDegrees() {
return degrees;
}
/**
* Sets the value of the degrees property.
*
* @param value
* allowed object is
* {@link DegreesType }
*
*/
public void setDegrees(final DegreesType value) {
this.degrees = value;
}
/**
* Gets the value of the decimalMinutes property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDecimalMinutes() {
return decimalMinutes;
}
/**
* Sets the value of the decimalMinutes property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setDecimalMinutes(final BigDecimal value) {
this.decimalMinutes = value;
}
/**
* Gets the value of the minutes property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMinutes() {
return minutes;
}
/**
* Sets the value of the minutes property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMinutes(final Integer value) {
this.minutes = value;
}
/**
* Gets the value of the seconds property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSeconds() {
return seconds;
}
/**
* Sets the value of the seconds property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSeconds(final BigDecimal value) {
this.seconds = value;
}
}