com.metamatrix.common.actions
Class ExchangePrimitive

java.lang.Object
  extended by com.metamatrix.common.actions.ActionDefinition
      extended by com.metamatrix.common.actions.TargetedActionDefinition
          extended by com.metamatrix.common.actions.ExchangePrimitive
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ExchangeBoolean, ExchangeDouble, ExchangeFloat, ExchangeInt, ExchangeLong, ExchangeShort

public abstract class ExchangePrimitive
extends TargetedActionDefinition

See Also:
Serialized Form

Constructor Summary
protected ExchangePrimitive(ExchangePrimitive rhs)
           
  ExchangePrimitive(java.lang.Object target, AttributeDefinition attribute)
          Create a new instance of an action definition by specifying the target.
protected ExchangePrimitive(java.lang.Object target, java.lang.Integer code)
           
 
Method Summary
 java.lang.String getActionDescription()
          Get the description (i.e., verb) for this type of action.
 
Methods inherited from class com.metamatrix.common.actions.ActionDefinition
clone, getArguments, getAttributeCode, getAttributeDescription, getCreationTime, getCreationTimeMillis, getTarget, getUndoActionDefinition, hasArguments, hasAttributeCode, hasTarget, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExchangePrimitive

public ExchangePrimitive(java.lang.Object target,
                         AttributeDefinition attribute)
Create a new instance of an action definition by specifying the target.

Parameters:
target - the object (or identifier for the object) that is the target of this action.
arguments - the objects that define the arguments for this action.
Throws:
java.lang.IllegalArgumentException - if the target is null or not serializable.

ExchangePrimitive

protected ExchangePrimitive(java.lang.Object target,
                            java.lang.Integer code)

ExchangePrimitive

protected ExchangePrimitive(ExchangePrimitive rhs)
Method Detail

getActionDescription

public java.lang.String getActionDescription()
Get the description (i.e., verb) for this type of action.

Specified by:
getActionDescription in class ActionDefinition
Returns:
the string description for this type of action.


Copyright © 2009. All Rights Reserved.