org.csapi.jr.se.mm
Class GeographicalPosition

java.lang.Object
  |
  +--org.csapi.jr.se.mm.GeographicalPosition
All Implemented Interfaces:
java.io.Serializable

public final class GeographicalPosition
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify a geographical position. The horizontal location is defined by an 'ellipsoid point with uncertainty shape'. The reference system chosen for the coding of locations is the World Geodetic System 1984 (WGS 84). TypeOfUncertaintyShape describes the type of the uncertainty shape and Longitude/Latitude defines the position of the uncertainty shape.

See Also:
Serialized Form

Constructor Summary
GeographicalPosition()
          Creates a new GeographicalPosition instance.
GeographicalPosition(float _longitude, float _latitude, org.csapi.jr.se.mm.LocationUncertaintyShape _typeOfUncertaintyShape, float _uncertaintyInnerSemiMajor, float _uncertaintyOuterSemiMajor, float _uncertaintyInnerSemiMinor, float _uncertaintyOuterSemiMinor, int _angleOfSemiMajor, int _segmentStartAngle, int _segmentEndAngle)
          Creates a new GeographicalPosition instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getAngleOfSemiMajor()
          This method returns a angleOfSemiMajor.
 float getLatitude()
          This method returns a latitude.
 float getLongitude()
          This method returns a longitude.
 int getSegmentEndAngle()
          This method returns a segmentEndAngle.
 int getSegmentStartAngle()
          This method returns a segmentStartAngle.
 org.csapi.jr.se.mm.LocationUncertaintyShape getTypeOfUncertaintyShape()
          This method returns a typeOfUncertaintyShape.
 float getUncertaintyInnerSemiMajor()
          This method returns a uncertaintyInnerSemiMajor.
 float getUncertaintyInnerSemiMinor()
          This method returns a uncertaintyInnerSemiMinor.
 float getUncertaintyOuterSemiMajor()
          This method returns a uncertaintyOuterSemiMajor.
 float getUncertaintyOuterSemiMinor()
          This method returns a uncertaintyOuterSemiMinor.
 int hashCode()
          Returns a hashcode value for the object.
 void setAngleOfSemiMajor(int angleOfSemiMajor)
          This method sets a angleOfSemiMajor.
 void setLatitude(float latitude)
          This method sets a latitude.
 void setLongitude(float longitude)
          This method sets a longitude.
 void setSegmentEndAngle(int segmentEndAngle)
          This method sets a segmentEndAngle.
 void setSegmentStartAngle(int segmentStartAngle)
          This method sets a segmentStartAngle.
 void setTypeOfUncertaintyShape(org.csapi.jr.se.mm.LocationUncertaintyShape typeOfUncertaintyShape)
          This method sets a typeOfUncertaintyShape.
 void setUncertaintyInnerSemiMajor(float uncertaintyInnerSemiMajor)
          This method sets a uncertaintyInnerSemiMajor.
 void setUncertaintyInnerSemiMinor(float uncertaintyInnerSemiMinor)
          This method sets a uncertaintyInnerSemiMinor.
 void setUncertaintyOuterSemiMajor(float uncertaintyOuterSemiMajor)
          This method sets a uncertaintyOuterSemiMajor.
 void setUncertaintyOuterSemiMinor(float uncertaintyOuterSemiMinor)
          This method sets a uncertaintyOuterSemiMinor.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeographicalPosition

public GeographicalPosition()
Creates a new GeographicalPosition instance.


GeographicalPosition

public GeographicalPosition(float _longitude,
                            float _latitude,
                            org.csapi.jr.se.mm.LocationUncertaintyShape _typeOfUncertaintyShape,
                            float _uncertaintyInnerSemiMajor,
                            float _uncertaintyOuterSemiMajor,
                            float _uncertaintyInnerSemiMinor,
                            float _uncertaintyOuterSemiMinor,
                            int _angleOfSemiMajor,
                            int _segmentStartAngle,
                            int _segmentEndAngle)
Creates a new GeographicalPosition instance.

Parameters:
_longitude - Longitude of the position used in the trigger.
_latitude - Latitude of the position used in the trigger.
_typeOfUncertaintyShape -
_uncertaintyInnerSemiMajor - See description of an Ellipse Arc in the documentation
_uncertaintyOuterSemiMajor - See description of an Ellipse Arc in the documentation
_uncertaintyInnerSemiMinor - See description of an Ellipse Arc in the documentation
_uncertaintyOuterSemiMinor - See description of an Ellipse Arc in the documentation
_angleOfSemiMajor - Angle of the semi major of the ellipse area used in the trigger.
_segmentStartAngle - See description of an Ellipse Arc in the documentation
_segmentEndAngle - See description of an Ellipse Arc in the documentation
Method Detail

getLongitude

public float getLongitude()
This method returns a longitude.

Returns:
a float value

getLatitude

public float getLatitude()
This method returns a latitude.

Returns:
a float value

getTypeOfUncertaintyShape

public org.csapi.jr.se.mm.LocationUncertaintyShape getTypeOfUncertaintyShape()
This method returns a typeOfUncertaintyShape.

Returns:
a org.csapi.jr.se.mm.LocationUncertaintyShape value

getUncertaintyInnerSemiMajor

public float getUncertaintyInnerSemiMajor()
This method returns a uncertaintyInnerSemiMajor.

Returns:
a float value

getUncertaintyOuterSemiMajor

public float getUncertaintyOuterSemiMajor()
This method returns a uncertaintyOuterSemiMajor.

Returns:
a float value

getUncertaintyInnerSemiMinor

public float getUncertaintyInnerSemiMinor()
This method returns a uncertaintyInnerSemiMinor.

Returns:
a float value

getUncertaintyOuterSemiMinor

public float getUncertaintyOuterSemiMinor()
This method returns a uncertaintyOuterSemiMinor.

Returns:
a float value

getAngleOfSemiMajor

public int getAngleOfSemiMajor()
This method returns a angleOfSemiMajor.

Returns:
a int value

getSegmentStartAngle

public int getSegmentStartAngle()
This method returns a segmentStartAngle.

Returns:
a int value

getSegmentEndAngle

public int getSegmentEndAngle()
This method returns a segmentEndAngle.

Returns:
a int value

setLongitude

public void setLongitude(float longitude)
This method sets a longitude.


setLatitude

public void setLatitude(float latitude)
This method sets a latitude.


setTypeOfUncertaintyShape

public void setTypeOfUncertaintyShape(org.csapi.jr.se.mm.LocationUncertaintyShape typeOfUncertaintyShape)
This method sets a typeOfUncertaintyShape.


setUncertaintyInnerSemiMajor

public void setUncertaintyInnerSemiMajor(float uncertaintyInnerSemiMajor)
This method sets a uncertaintyInnerSemiMajor.


setUncertaintyOuterSemiMajor

public void setUncertaintyOuterSemiMajor(float uncertaintyOuterSemiMajor)
This method sets a uncertaintyOuterSemiMajor.


setUncertaintyInnerSemiMinor

public void setUncertaintyInnerSemiMinor(float uncertaintyInnerSemiMinor)
This method sets a uncertaintyInnerSemiMinor.


setUncertaintyOuterSemiMinor

public void setUncertaintyOuterSemiMinor(float uncertaintyOuterSemiMinor)
This method sets a uncertaintyOuterSemiMinor.


setAngleOfSemiMajor

public void setAngleOfSemiMajor(int angleOfSemiMajor)
This method sets a angleOfSemiMajor.


setSegmentStartAngle

public void setSegmentStartAngle(int segmentStartAngle)
This method sets a segmentStartAngle.


setSegmentEndAngle

public void setSegmentEndAngle(int segmentEndAngle)
This method sets a segmentEndAngle.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object