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

java.lang.Object
  extended by javax.microedition.location.Landmark
      extended by com.hammingweight.hammock.mocks.microedition.location.MockLandmark
All Implemented Interfaces:
IMockObject

public class MockLandmark
extends javax.microedition.location.Landmark
implements IMockObject


Field Summary
static MockMethod MTHD_GET_ADDRESS_INFO
           
static MockMethod MTHD_GET_DESCRIPTION
           
static MockMethod MTHD_GET_NAME
           
static MockMethod MTHD_GET_QUALIFIED_COORDINATES
           
static MockMethod MTHD_SET_ADDRESS_INFO_$_ADDRESSINFO
           
static MockMethod MTHD_SET_DESCRIPTION_$_STRING
           
static MockMethod MTHD_SET_NAME_$_STRING
           
static MockMethod MTHD_SET_QUALIFIED_COORDINATES_$_QUALIFIEDCOORDINATES
           
 
Constructor Summary
MockLandmark(java.lang.String arg0, java.lang.String arg1, javax.microedition.location.QualifiedCoordinates arg2, javax.microedition.location.AddressInfo arg3)
           
MockLandmark(java.lang.String arg0, java.lang.String arg1, javax.microedition.location.QualifiedCoordinates arg2, javax.microedition.location.AddressInfo arg3, IInvocationHandler handler)
           
 
Method Summary
 javax.microedition.location.AddressInfo getAddressInfo()
           
 java.lang.String getDescription()
           
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 java.lang.String getName()
           
 javax.microedition.location.QualifiedCoordinates getQualifiedCoordinates()
           
 void setAddressInfo(javax.microedition.location.AddressInfo arg0)
           
 void setDescription(java.lang.String arg0)
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 void setName(java.lang.String arg0)
           
 void setQualifiedCoordinates(javax.microedition.location.QualifiedCoordinates arg0)
           
 
Methods inherited from class javax.microedition.location.Landmark
equals
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_GET_ADDRESS_INFO

public static final MockMethod MTHD_GET_ADDRESS_INFO

MTHD_GET_DESCRIPTION

public static final MockMethod MTHD_GET_DESCRIPTION

MTHD_GET_NAME

public static final MockMethod MTHD_GET_NAME

MTHD_GET_QUALIFIED_COORDINATES

public static final MockMethod MTHD_GET_QUALIFIED_COORDINATES

MTHD_SET_ADDRESS_INFO_$_ADDRESSINFO

public static final MockMethod MTHD_SET_ADDRESS_INFO_$_ADDRESSINFO

MTHD_SET_DESCRIPTION_$_STRING

public static final MockMethod MTHD_SET_DESCRIPTION_$_STRING

MTHD_SET_NAME_$_STRING

public static final MockMethod MTHD_SET_NAME_$_STRING

MTHD_SET_QUALIFIED_COORDINATES_$_QUALIFIEDCOORDINATES

public static final MockMethod MTHD_SET_QUALIFIED_COORDINATES_$_QUALIFIEDCOORDINATES
Constructor Detail

MockLandmark

public MockLandmark(java.lang.String arg0,
                    java.lang.String arg1,
                    javax.microedition.location.QualifiedCoordinates arg2,
                    javax.microedition.location.AddressInfo arg3)

MockLandmark

public MockLandmark(java.lang.String arg0,
                    java.lang.String arg1,
                    javax.microedition.location.QualifiedCoordinates arg2,
                    javax.microedition.location.AddressInfo arg3,
                    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.

getAddressInfo

public javax.microedition.location.AddressInfo getAddressInfo()
Overrides:
getAddressInfo in class javax.microedition.location.Landmark

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class javax.microedition.location.Landmark

getName

public java.lang.String getName()
Overrides:
getName in class javax.microedition.location.Landmark

getQualifiedCoordinates

public javax.microedition.location.QualifiedCoordinates getQualifiedCoordinates()
Overrides:
getQualifiedCoordinates in class javax.microedition.location.Landmark

setAddressInfo

public void setAddressInfo(javax.microedition.location.AddressInfo arg0)
Overrides:
setAddressInfo in class javax.microedition.location.Landmark

setDescription

public void setDescription(java.lang.String arg0)
Overrides:
setDescription in class javax.microedition.location.Landmark

setName

public void setName(java.lang.String arg0)
Overrides:
setName in class javax.microedition.location.Landmark

setQualifiedCoordinates

public void setQualifiedCoordinates(javax.microedition.location.QualifiedCoordinates arg0)
Overrides:
setQualifiedCoordinates in class javax.microedition.location.Landmark