planetj.dataengine.action
Class RowAction

java.lang.Object
  extended byplanetj.dataengine.action.AbstractAction
      extended byplanetj.dataengine.action.RowAction
All Implemented Interfaces:
java.lang.Cloneable, IRowAction, java.io.Serializable

public abstract class RowAction
extends AbstractAction
implements IRowAction

A RowAction is an action that is to be performed on a given Row.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class planetj.dataengine.action.AbstractAction
DEFAULT_TYPE
 
Fields inherited from interface planetj.dataengine.action.IRowAction
TYPE
 
Constructor Summary
RowAction()
           
 
Method Summary
 java.lang.String getType()
          All subclasses are of the RowAction's type
 java.lang.Object handleAction(java.lang.Object o, ExecutingContext ec)
          Ensure given object to perform action on is a Row.
abstract  java.lang.Object handleRowAction(Row row, ExecutingContext ec)
          Subclasses need to provide logic to handle the action they wish to perform.
 
Methods inherited from class planetj.dataengine.action.AbstractAction
clone, cloneAction, getDefaultDescriptor, getDefaultLocation, getDescriptor, getDetailsLocations, getDetailsModes, getLocation, getLocations, getName, handleAction, handleAction, setDescriptor
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowAction

public RowAction()
Method Detail

getType

public java.lang.String getType()
All subclasses are of the RowAction's type

Overrides:
getType in class AbstractAction

handleAction

public final java.lang.Object handleAction(java.lang.Object o,
                                           ExecutingContext ec)
Ensure given object to perform action on is a Row.

Specified by:
handleAction in class AbstractAction
Parameters:
o - Object to perform the action on

handleRowAction

public abstract java.lang.Object handleRowAction(Row row,
                                                 ExecutingContext ec)
Subclasses need to provide logic to handle the action they wish to perform.

Parameters:
row - Row to perform action on