Class ActionEvent

java.lang.Object
FAtiMA.Core.util.enumerables.ActionEvent

public class ActionEvent extends Object
Author:
Meiyii Lim 07/01/10 Class that implements the Enumerable for the different types of action event - success or failure
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
     
    static final short
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    GetName(short actionEvent)
    Gets the Action's event type, given its identifier
    static short
    ParseType(String actionEvent)
    Parses a string that corresponds to the ActionEvent and returns the appropriate ActionEvent (enumerable)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ActionEvent

      public ActionEvent()
  • Method Details

    • ParseType

      public static short ParseType(String actionEvent)
      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

      public static String GetName(short actionEvent)
      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