org.jboss.aophelper.core
Class UndoableValue

java.lang.Object
  extended by org.jboss.aophelper.core.UndoableValue

public class UndoableValue
extends Object

A UndoableValue.

Version:
$Revision: 1.1 $
Author:
Stale W. Pedersen

Constructor Summary
UndoableValue(Object o, Method m)
          Create a new UndoableValue.
UndoableValue(Object o, Method m, Object value)
          Create a new UndoableValue.
 
Method Summary
 boolean equals(Object o)
           
 boolean equals(Object o, Method m)
           
 Object getExecutionObject()
          Get the executionObject.
 Method getMethod()
          Get the method.
 Object getValue()
          Get the data.
 int hashCode()
           
 void setExecutionObject(Object executionObject)
          Set the executionObject.
 void setMethod(Method method)
          Set the method.
 void setValue(Object value)
          Set the data.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UndoableValue

public UndoableValue(Object o,
                     Method m)
Create a new UndoableValue.

Parameters:
o -
m -

UndoableValue

public UndoableValue(Object o,
                     Method m,
                     Object value)
Create a new UndoableValue.

Parameters:
o -
m -
value -
Method Detail

getExecutionObject

public Object getExecutionObject()
Get the executionObject.

Returns:
the executionObject.

setExecutionObject

public void setExecutionObject(Object executionObject)
Set the executionObject.

Parameters:
executionObject - The executionObject to set.

getMethod

public Method getMethod()
Get the method.

Returns:
the method.

setMethod

public void setMethod(Method method)
Set the method.

Parameters:
method - The method to set.

getValue

public Object getValue()
Get the data.

Returns:
the data.

setValue

public void setValue(Object value)
Set the data.

Parameters:
data - The data to set.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

equals

public boolean equals(Object o,
                      Method m)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.