com.metamatrix.common.actions
Class TargetedActionDefinition

java.lang.Object
  extended by com.metamatrix.common.actions.ActionDefinition
      extended by com.metamatrix.common.actions.TargetedActionDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AddObject, DestroyObject, ExchangeObject, ExchangePrimitive, RemoveObject

public abstract class TargetedActionDefinition
extends ActionDefinition

See Also:
Serialized Form

Constructor Summary
  TargetedActionDefinition(java.lang.Object target, AttributeDefinition attribute, java.lang.Object[] arguments)
          Create a new instance of an action definition by specifying the target.
  TargetedActionDefinition(java.lang.Object target, java.lang.Integer attributeCode)
           
  TargetedActionDefinition(java.lang.Object target, java.lang.Integer attributeCode, java.lang.Object[] arguments)
           
protected TargetedActionDefinition(TargetedActionDefinition rhs)
           
 
Method Summary
 
Methods inherited from class com.metamatrix.common.actions.ActionDefinition
clone, getActionDescription, 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

TargetedActionDefinition

public TargetedActionDefinition(java.lang.Object target,
                                AttributeDefinition attribute,
                                java.lang.Object[] arguments)
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.

TargetedActionDefinition

public TargetedActionDefinition(java.lang.Object target,
                                java.lang.Integer attributeCode)

TargetedActionDefinition

public TargetedActionDefinition(java.lang.Object target,
                                java.lang.Integer attributeCode,
                                java.lang.Object[] arguments)

TargetedActionDefinition

protected TargetedActionDefinition(TargetedActionDefinition rhs)


Copyright © 2009. All Rights Reserved.