edu.memphis.ccrg.lida.actionselection
Class AgentActionImpl
java.lang.Object
edu.memphis.ccrg.lida.actionselection.AgentActionImpl
- All Implemented Interfaces:
- AgentAction, java.io.Serializable
public abstract class AgentActionImpl
- extends java.lang.Object
- implements AgentAction
Abstract implmementation of AgentAction
- Author:
- Javier Snaider
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentActionImpl
public AgentActionImpl()
- Default constructor
AgentActionImpl
public AgentActionImpl(java.lang.String label)
- Parameters:
label
- label
setContent
public void setContent(java.lang.Object content)
- Specified by:
setContent
in interface AgentAction
- Parameters:
content
- the content to set.
getContent
public java.lang.Object getContent()
- Specified by:
getContent
in interface AgentAction
- Returns:
- the action content.
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface AgentAction
- Returns:
- the action label.
setLabel
public void setLabel(java.lang.String label)
- Specified by:
setLabel
in interface AgentAction
- Parameters:
label
- the action label to set.
setAssociatedModule
public void setAssociatedModule(FrameworkModule module)
- Description copied from interface:
AgentAction
- Sets an associated FrameworkModule.
- Specified by:
setAssociatedModule
in interface AgentAction
- Parameters:
module
- the module to be associated.
getAssociatedModule
public FrameworkModule getAssociatedModule()
- Specified by:
getAssociatedModule
in interface AgentAction
- Returns:
- the associated module
getId
public long getId()
- Specified by:
getId
in interface AgentAction
- Returns:
- the id