com.metamatrix.common.actions
Class ExchangePrimitive
java.lang.Object
com.metamatrix.common.actions.ActionDefinition
com.metamatrix.common.actions.TargetedActionDefinition
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
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 |
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)
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.