org.csapi.jr.se.mm
Class UlExtendedData

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

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

Defines the Sequence of Data Elements that specify a location (extended format). The optional vertical location is defined by the data element Altitude, which contains the altitude in meters above sea level, and the data element AltitudeAccuracy, which contains the accuracy of the altitude.

See Also:
Serialized Form

Constructor Summary
UlExtendedData()
          Creates a new UlExtendedData instance.
UlExtendedData(org.csapi.jr.se.mm.GeographicalPosition _geographicalPosition, org.csapi.jr.se.mm.TerminalType _terminalType, boolean _altitudePresent, float _altitude, float _uncertaintyAltitude, boolean _timestampPresent, java.lang.String _timestamp, java.lang.String _usedLocationMethod)
          Creates a new UlExtendedData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 float getAltitude()
          This method returns a altitude.
 boolean getAltitudePresent()
          This method returns a altitudePresent.
 org.csapi.jr.se.mm.GeographicalPosition getGeographicalPosition()
          This method returns a geographicalPosition.
 org.csapi.jr.se.mm.TerminalType getTerminalType()
          This method returns a terminalType.
 java.lang.String getTimestamp()
          This method returns a timestamp.
 boolean getTimestampPresent()
          This method returns a timestampPresent.
 float getUncertaintyAltitude()
          This method returns a uncertaintyAltitude.
 java.lang.String getUsedLocationMethod()
          This method returns a usedLocationMethod.
 int hashCode()
          Returns a hashcode value for the object.
 void setAltitude(float altitude)
          This method sets a altitude.
 void setAltitudePresent(boolean altitudePresent)
          This method sets a altitudePresent.
 void setGeographicalPosition(org.csapi.jr.se.mm.GeographicalPosition geographicalPosition)
          This method sets a geographicalPosition.
 void setTerminalType(org.csapi.jr.se.mm.TerminalType terminalType)
          This method sets a terminalType.
 void setTimestamp(java.lang.String timestamp)
          This method sets a timestamp.
 void setTimestampPresent(boolean timestampPresent)
          This method sets a timestampPresent.
 void setUncertaintyAltitude(float uncertaintyAltitude)
          This method sets a uncertaintyAltitude.
 void setUsedLocationMethod(java.lang.String usedLocationMethod)
          This method sets a usedLocationMethod.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UlExtendedData

public UlExtendedData()
Creates a new UlExtendedData instance.


UlExtendedData

public UlExtendedData(org.csapi.jr.se.mm.GeographicalPosition _geographicalPosition,
                      org.csapi.jr.se.mm.TerminalType _terminalType,
                      boolean _altitudePresent,
                      float _altitude,
                      float _uncertaintyAltitude,
                      boolean _timestampPresent,
                      java.lang.String _timestamp,
                      java.lang.String _usedLocationMethod)
Creates a new UlExtendedData instance.

Parameters:
_geographicalPosition - Specification of a position and an area of uncertainty.
_terminalType - The kind of terminal used by the user.
_altitudePresent - Flag indicating if the altitude is present.
_altitude - Decimal altitude in meters.
_uncertaintyAltitude - Uncertainty of the altitude.
_timestampPresent - Flag indicating if the timestamp is present.
_timestamp - Timestamp indicating when the request was processed.
_usedLocationMethod - Specifying which location method was used.
Method Detail

getGeographicalPosition

public org.csapi.jr.se.mm.GeographicalPosition getGeographicalPosition()
This method returns a geographicalPosition.

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

getTerminalType

public org.csapi.jr.se.mm.TerminalType getTerminalType()
This method returns a terminalType.

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

getAltitudePresent

public boolean getAltitudePresent()
This method returns a altitudePresent.

Returns:
a boolean value

getAltitude

public float getAltitude()
This method returns a altitude.

Returns:
a float value

getUncertaintyAltitude

public float getUncertaintyAltitude()
This method returns a uncertaintyAltitude.

Returns:
a float value

getTimestampPresent

public boolean getTimestampPresent()
This method returns a timestampPresent.

Returns:
a boolean value

getTimestamp

public java.lang.String getTimestamp()
This method returns a timestamp.

Returns:
a String value

getUsedLocationMethod

public java.lang.String getUsedLocationMethod()
This method returns a usedLocationMethod.

Returns:
a String value

setGeographicalPosition

public void setGeographicalPosition(org.csapi.jr.se.mm.GeographicalPosition geographicalPosition)
This method sets a geographicalPosition.


setTerminalType

public void setTerminalType(org.csapi.jr.se.mm.TerminalType terminalType)
This method sets a terminalType.


setAltitudePresent

public void setAltitudePresent(boolean altitudePresent)
This method sets a altitudePresent.


setAltitude

public void setAltitude(float altitude)
This method sets a altitude.


setUncertaintyAltitude

public void setUncertaintyAltitude(float uncertaintyAltitude)
This method sets a uncertaintyAltitude.


setTimestampPresent

public void setTimestampPresent(boolean timestampPresent)
This method sets a timestampPresent.


setTimestamp

public void setTimestamp(java.lang.String timestamp)
This method sets a timestamp.


setUsedLocationMethod

public void setUsedLocationMethod(java.lang.String usedLocationMethod)
This method sets a usedLocationMethod.


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