com.ibm.commerce.rule
Class Action

java.lang.Object
  com.ibm.commerce.rule.Action

public final class Action
extends java.lang.Object

This class describes a rule action.


Nested Class Summary
static class Action.Parameter
This class describes action parameters.
Field Summary
static java.lang.String COPYRIGHT
Copyright.
Constructor Summary
Action(java.lang.String name, Action.Parameter[] parameters)
This constructor takes a name and an array of parameters.
Method Summary
java.lang.String getName()
Gets the name of the action.
Action.Parameter[] getParameters()
Gets the array of Parameter objects.
void setName(java.lang.String name)
Sets the name of the action.
void setParameters(Action.Parameter[] parameters)
Sets the array of Parameter objects.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

Action

public Action(java.lang.String name,
              Action.Parameter[] parameters)
This constructor takes a name and an array of parameters.
Parameters:
name - The name of the action.
parameters - An array of Parameter objects.
Method Detail

getName

public java.lang.String getName()
Gets the name of the action.
Returns:
The name of the action.

setName

public void setName(java.lang.String name)
Sets the name of the action.
Parameters:
name - The name of the action.

getParameters

public Action.Parameter[] getParameters()
Gets the array of Parameter objects.
Returns:
The array of Parameter objects.

setParameters

public void setParameters(Action.Parameter[] parameters)
Sets the array of Parameter objects.
Parameters:
parameters - An array of parameter objects.

Feedback