|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionIF
The ActionIF
specifies actions of an agent. It abstracts from
the fact whether the action is defined on the frame or instance level.
Method Summary | |
---|---|
void |
addObjectClassParam(java.lang.String objectClassName)
Adds a parameter to this action. |
void |
clearObjectClassParams()
Removes all parameters. |
java.lang.String |
getActionClassName()
Gets the actual java class that is called when this action becomes activated. |
java.lang.String |
getName()
Gets the name of this action. |
java.lang.String[] |
getObjectClassParams()
Gets the parameters of this action. |
boolean |
hasObjectParameter()
Tests whether this action has parameters. |
void |
removeObjectClassParam(java.lang.String path)
Remove a single parameter. |
void |
setActionClassName(java.lang.String className)
Sets the actual java class that is called when this action becomes activated. |
gsim.def.objects.Unit |
toUnit()
This method returns the underlying entity (Frame or Instance). |
Method Detail |
---|
void addObjectClassParam(java.lang.String objectClassName) throws GSimObjectException
objectClassName
- the type of object
GSimObjectException
void clearObjectClassParams() throws GSimObjectException
GSimObjectException
java.lang.String getActionClassName() throws GSimObjectException
GSimObjectException
java.lang.String getName() throws GSimObjectException
GSimObjectException
java.lang.String[] getObjectClassParams() throws GSimObjectException
GSimObjectException
boolean hasObjectParameter() throws GSimObjectException
GSimObjectException
void removeObjectClassParam(java.lang.String path) throws GSimObjectException
path
- path to the parameter
GSimObjectException
void setActionClassName(java.lang.String className) throws GSimObjectException
className
-
GSimObjectException
gsim.def.objects.Unit toUnit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |