com.hammingweight.hammock.mocks.microedition.location
Class MockQualifiedCoordinates

java.lang.Object
  extended by javax.microedition.location.Coordinates
      extended by javax.microedition.location.QualifiedCoordinates
          extended by com.hammingweight.hammock.mocks.microedition.location.MockQualifiedCoordinates
All Implemented Interfaces:
IMockObject

public class MockQualifiedCoordinates
extends javax.microedition.location.QualifiedCoordinates
implements IMockObject


Field Summary
static MockMethod MTHD_AZIMUTH_TO_$_COORDINATES
           
static MockMethod MTHD_DISTANCE_$_COORDINATES
           
static MockMethod MTHD_GET_ALTITUDE
           
static MockMethod MTHD_GET_HORIZONTAL_ACCURACY
           
static MockMethod MTHD_GET_LATITUDE
           
static MockMethod MTHD_GET_LONGITUDE
           
static MockMethod MTHD_GET_VERTICAL_ACCURACY
           
static MockMethod MTHD_SET_ALTITUDE_$_FLOAT
           
static MockMethod MTHD_SET_HORIZONTAL_ACCURACY_$_FLOAT
           
static MockMethod MTHD_SET_LATITUDE_$_DOUBLE
           
static MockMethod MTHD_SET_LONGITUDE_$_DOUBLE
           
static MockMethod MTHD_SET_VERTICAL_ACCURACY_$_FLOAT
           
 
Fields inherited from class javax.microedition.location.Coordinates
DD_MM, DD_MM_SS
 
Constructor Summary
MockQualifiedCoordinates(double arg0, double arg1, float arg2, float arg3, float arg4)
           
MockQualifiedCoordinates(double arg0, double arg1, float arg2, float arg3, float arg4, IInvocationHandler handler)
           
 
Method Summary
 float azimuthTo(javax.microedition.location.Coordinates arg0)
           
 float distance(javax.microedition.location.Coordinates arg0)
           
 float getAltitude()
           
 float getHorizontalAccuracy()
           
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 double getLatitude()
           
 double getLongitude()
           
 float getVerticalAccuracy()
           
 void setAltitude(float arg0)
           
 void setHorizontalAccuracy(float arg0)
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 void setLatitude(double arg0)
           
 void setLongitude(double arg0)
           
 void setVerticalAccuracy(float arg0)
           
 
Methods inherited from class javax.microedition.location.Coordinates
convert, convert
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_AZIMUTH_TO_$_COORDINATES

public static final MockMethod MTHD_AZIMUTH_TO_$_COORDINATES

MTHD_DISTANCE_$_COORDINATES

public static final MockMethod MTHD_DISTANCE_$_COORDINATES

MTHD_GET_ALTITUDE

public static final MockMethod MTHD_GET_ALTITUDE

MTHD_GET_HORIZONTAL_ACCURACY

public static final MockMethod MTHD_GET_HORIZONTAL_ACCURACY

MTHD_GET_LATITUDE

public static final MockMethod MTHD_GET_LATITUDE

MTHD_GET_LONGITUDE

public static final MockMethod MTHD_GET_LONGITUDE

MTHD_GET_VERTICAL_ACCURACY

public static final MockMethod MTHD_GET_VERTICAL_ACCURACY

MTHD_SET_ALTITUDE_$_FLOAT

public static final MockMethod MTHD_SET_ALTITUDE_$_FLOAT

MTHD_SET_HORIZONTAL_ACCURACY_$_FLOAT

public static final MockMethod MTHD_SET_HORIZONTAL_ACCURACY_$_FLOAT

MTHD_SET_LATITUDE_$_DOUBLE

public static final MockMethod MTHD_SET_LATITUDE_$_DOUBLE

MTHD_SET_LONGITUDE_$_DOUBLE

public static final MockMethod MTHD_SET_LONGITUDE_$_DOUBLE

MTHD_SET_VERTICAL_ACCURACY_$_FLOAT

public static final MockMethod MTHD_SET_VERTICAL_ACCURACY_$_FLOAT
Constructor Detail

MockQualifiedCoordinates

public MockQualifiedCoordinates(double arg0,
                                double arg1,
                                float arg2,
                                float arg3,
                                float arg4)

MockQualifiedCoordinates

public MockQualifiedCoordinates(double arg0,
                                double arg1,
                                float arg2,
                                float arg3,
                                float arg4,
                                IInvocationHandler handler)
Method Detail

setInvocationHandler

public final void setInvocationHandler(IInvocationHandler handler)
Description copied from interface: IMockObject
Sets the invocation handler that the mock object should use to evaluate method invocations.

Specified by:
setInvocationHandler in interface IMockObject
Parameters:
handler - The invocation handler to be used by the mock object.

getInvocationHandler

public final IInvocationHandler getInvocationHandler()
Description copied from interface: IMockObject
Gets the invocation handler that the mock object uses to evaluate method invocations.

Specified by:
getInvocationHandler in interface IMockObject
Returns:
The invocation handler used by the mock object.

azimuthTo

public float azimuthTo(javax.microedition.location.Coordinates arg0)
Overrides:
azimuthTo in class javax.microedition.location.Coordinates

distance

public float distance(javax.microedition.location.Coordinates arg0)
Overrides:
distance in class javax.microedition.location.Coordinates

getAltitude

public float getAltitude()
Overrides:
getAltitude in class javax.microedition.location.Coordinates

getHorizontalAccuracy

public float getHorizontalAccuracy()
Overrides:
getHorizontalAccuracy in class javax.microedition.location.QualifiedCoordinates

getLatitude

public double getLatitude()
Overrides:
getLatitude in class javax.microedition.location.Coordinates

getLongitude

public double getLongitude()
Overrides:
getLongitude in class javax.microedition.location.Coordinates

getVerticalAccuracy

public float getVerticalAccuracy()
Overrides:
getVerticalAccuracy in class javax.microedition.location.QualifiedCoordinates

setAltitude

public void setAltitude(float arg0)
Overrides:
setAltitude in class javax.microedition.location.Coordinates

setHorizontalAccuracy

public void setHorizontalAccuracy(float arg0)
Overrides:
setHorizontalAccuracy in class javax.microedition.location.QualifiedCoordinates

setLatitude

public void setLatitude(double arg0)
Overrides:
setLatitude in class javax.microedition.location.Coordinates

setLongitude

public void setLongitude(double arg0)
Overrides:
setLongitude in class javax.microedition.location.Coordinates

setVerticalAccuracy

public void setVerticalAccuracy(float arg0)
Overrides:
setVerticalAccuracy in class javax.microedition.location.QualifiedCoordinates