org.citygml4j.jaxb.gml._3_1_1
Class DegreesType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.DegreesType

public class DegreesType
extends java.lang.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
DegreesType()
           
 
Method Summary
 java.lang.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.
 boolean isSetDirection()
           
 boolean isSetValue()
           
 void setDirection(java.lang.String value)
          Sets the value of the direction property.
 void setValue(int value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DegreesType

public DegreesType()
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.


isSetValue

public boolean isSetValue()

getDirection

public java.lang.String getDirection()
Gets the value of the direction property.

Returns:
possible object is String

setDirection

public void setDirection(java.lang.String value)
Sets the value of the direction property.

Parameters:
value - allowed object is String

isSetDirection

public boolean isSetDirection()