org.commonreality.object.manager.impl
Class EfferentObject
java.lang.Object
org.commonreality.object.manager.impl.BasicObject
org.commonreality.object.manager.impl.EfferentObject
- All Implemented Interfaces:
- java.io.Serializable, IIdentifiable, IEfferentObject, IMutableObject, ISensoryObject, ISimulationObject
public class EfferentObject
- extends BasicObject
- implements IEfferentObject, java.io.Serializable
- Author:
- developer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
EfferentObject
public EfferentObject(IIdentifier identifier)
- Parameters:
identifier -
getIdentifier
public ISensoryIdentifier getIdentifier()
- Specified by:
getIdentifier in interface IIdentifiable- Specified by:
getIdentifier in interface ISensoryObject- Overrides:
getIdentifier in class BasicObject
- Returns:
- identifier
- See Also:
IIdentifiable.getIdentifier()
getCommandTemplates
public java.util.Collection<IEfferentCommandTemplate> getCommandTemplates()
- Description copied from interface:
IEfferentObject
- return a collection of all the command templates that can be applied to
this efferent object.
- Specified by:
getCommandTemplates in interface IEfferentObject
- Returns:
getCurrentCommand
public IEfferentCommand getCurrentCommand()
- Description copied from interface:
IEfferentObject
- returns the currently active command. if no command is active (successfully
completed or interrupted) this will be null
- Specified by:
getCurrentCommand in interface IEfferentObject
- Returns: