edu.memphis.ccrg.lida.actionselection
Class ActionImpl

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.initialization.InitializableImpl
      extended by edu.memphis.ccrg.lida.actionselection.ActionImpl
All Implemented Interfaces:
Action, Initializable

public class ActionImpl
extends InitializableImpl
implements Action

Default implementation of Action.

Author:
Ryan J. McCall, Javier Snaider

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.memphis.ccrg.lida.actionselection.Action
Action.Topology
 
Constructor Summary
ActionImpl()
          Default constructor
ActionImpl(java.lang.String label)
          Convenience constructor that set the Action's label
 
Method Summary
 int getId()
           
 java.lang.String getLabel()
           
 void setLabel(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.memphis.ccrg.lida.framework.initialization.InitializableImpl
containsParameter, getParam, getParameters, init, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
containsParameter, getParam, getParameters, init, init
 

Constructor Detail

ActionImpl

public ActionImpl()
Default constructor


ActionImpl

public ActionImpl(java.lang.String label)
Convenience constructor that set the Action's label

Parameters:
label - the label to set
Method Detail

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface Action
Returns:
the action label.

setLabel

public void setLabel(java.lang.String name)
Specified by:
setLabel in interface Action
Parameters:
name - the action label to set.

getId

public int getId()
Specified by:
getId in interface Action
Returns:
the Action id

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object