com.agical.rmock.core.match.reference
Class ExpressionReference
java.lang.Object
com.agical.rmock.core.match.reference.ExpressionReference
- All Implemented Interfaces:
- Reference
public class ExpressionReference
- extends Object
- implements Reference
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionReference
public ExpressionReference(Expression expression)
getObject
public Object getObject()
- Specified by:
getObject
in interface Reference
- Returns:
- the referenced object
describeWith
public void describeWith(ExpressionDescriber expressionDescriber)
throws IOException
- Description copied from interface:
Reference
- Describes this reference with the given describer
- Specified by:
describeWith
in interface Reference
- Parameters:
expressionDescriber
- The describer to use
- Throws:
IOException
objectEquals
public boolean objectEquals(Object object)
- Specified by:
objectEquals
in interface Reference
- Returns:
- true if the referenced object is equal to the passed object.
objectCompareTo
public int objectCompareTo(Object object)
- Description copied from interface:
Reference
- compares the referenced object to another object
- Specified by:
objectCompareTo
in interface Reference
- Parameters:
object
- the object to compare to
- Returns:
- > 0 if greater than, 0 if equal to, < 0 if less than.
Copyright © 2005-2011 Agical AB. All Rights Reserved.