ca.bc.gov.webade
Class Action

java.lang.Object
  extended byca.bc.gov.webade.Action
All Implemented Interfaces:
java.io.Serializable

public final class Action
extends java.lang.Object
implements java.io.Serializable

Author:
jross
See Also:
Serialized Form

Constructor Summary
Action(java.lang.String name)
          Creates a non-priviledged action using the given action name string.
Action(java.lang.String name, boolean isPrivileged)
          Creates an action using the given action name string and flag indicating whether the action is privileged.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 int hashCode()
           
 boolean isPriviledged()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Action

public Action(java.lang.String name)
Creates a non-priviledged action using the given action name string.

Parameters:
name - The action name.

Action

public Action(java.lang.String name,
              boolean isPrivileged)
Creates an action using the given action name string and flag indicating whether the action is privileged.

Parameters:
name - The action name.
isPrivileged - Flag indicating whether the action is privileged.
Method Detail

isPriviledged

public boolean isPriviledged()
Returns:
Returns the isPriviledged flag.

getName

public java.lang.String getName()
Returns:
Returns the name.

equals

public boolean equals(java.lang.Object obj)
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
See Also:
Object.toString()

hashCode

public int hashCode()
See Also:
Object.hashCode()