public class DegreesType extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
direction |
protected int |
value |
| Constructor and Description |
|---|
DegreesType()
Default no-arg constructor
|
DegreesType(int value,
String direction)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDirection()
Gets the value of the direction property.
|
int |
getValue()
Integer number of degrees in a degree-minute-second or degree-minute angular value, without indication of direction.
|
void |
setDirection(String value)
Sets the value of the direction property.
|
void |
setValue(int value)
Sets the value of the value property.
|
protected int value
protected String direction
public DegreesType()
public DegreesType(int value,
String direction)
public int getValue()
public void setValue(int value)
public String getDirection()
StringCopyright © 2020 B3Partners B.V.. All rights reserved.