Package FAtiMA.Core.util.enumerables
Class ActionEvent
java.lang.Object
FAtiMA.Core.util.enumerables.ActionEvent
- Author:
- Meiyii Lim 07/01/10 Class that implements the Enumerable for the different types of action event - success or failure
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SUCCESS
public static final short SUCCESS- See Also:
-
FAILURE
public static final short FAILURE- See Also:
-
-
Constructor Details
-
ActionEvent
public ActionEvent()
-
-
Method Details
-
ParseType
Parses a string that corresponds to the ActionEvent and returns the appropriate ActionEvent (enumerable)- Parameters:
actionEvent- - the name of the type of goal event to search for- Returns:
- - the id of the action event type
-
GetName
Gets the Action's event type, given its identifier- Parameters:
actionEvent- id of the action's event type- Returns:
- the name of the action's event type
-