Package nl.b3p.csw.jaxb.gml
Class DegreesType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.DegreesType
-
public class DegreesType extends Object
Integer number of degrees, plus the angle direction. This element can be used for geographic Latitude and Longitude. For Latitude, the XML attribute direction can take the values "N" or "S", meaning North or South of the equator. For Longitude, direction can take the values "E" or "W", meaning East or West of the prime meridian. This element can also be used for other angles. In that case, the direction can take the values "+" or "-" (of SignType), in the specified rotational direction from a specified reference direction.Java class for DegreesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DegreesType"> <simpleContent> <extension base="<http://www.opengis.net/gml>DegreeValueType"> <attribute name="direction"> <simpleType> <union> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="N"/> <enumeration value="E"/> <enumeration value="S"/> <enumeration value="W"/> </restriction> </simpleType> <simpleType> <restriction base="{http://www.opengis.net/gml}SignType"> </restriction> </simpleType> </union> </simpleType> </attribute> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description DegreesType()Default no-arg constructorDegreesType(int value, String direction)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDirection()Gets the value of the direction property.intgetValue()Integer number of degrees in a degree-minute-second or degree-minute angular value, without indication of direction.voidsetDirection(String value)Sets the value of the direction property.voidsetValue(int value)Sets the value of the value property.
-
-
-
Field Detail
-
value
protected int value
-
direction
protected String direction
-
-
Constructor Detail
-
DegreesType
public DegreesType()
Default no-arg constructor
-
DegreesType
public DegreesType(int value, String direction)Fully-initialising value constructor
-
-
Method Detail
-
getValue
public int getValue()
Integer number of degrees in a degree-minute-second or degree-minute angular value, without indication of direction.
-
setValue
public void setValue(int value)
Sets the value of the value property.
-
getDirection
public String getDirection()
Gets the value of the direction property.- Returns:
- possible object is
String
-
-