Class semper.access.UnlockedRole
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.UnlockedRole

java.lang.Object
   |
   +----semper.access.Role
           |
           +----semper.access.UnlockedRole

public class UnlockedRole
extends Role
SEMER Class of role objects. Roles contain zero or more capabilities. An unlocked role is alsways unlocked. If a role is unlocked, all its member capabilities are (potentially) valid.
Version:
$Revision: 1.3 $ $Date: 1996/08/21 07:40:37 $
Author:
Jaap-Henk Hoepman (jhh@cwi.nl)
See Also:
Role

Constructor Index

 o UnlockedRole(String)
Create a new role.

Method Index

 o islocked()
Check if the role is locked.
 o unlock()
Unlock the role.

Constructors

 o UnlockedRole
  public UnlockedRole(String desc)
Create a new role.
Parameters:
desc - the description of the role (used when locking or unlocking roles).

Methods

 o islocked
  public boolean islocked()
Check if the role is locked. Overridden here to always return false
Returns:
always returns false.
Overrides:
islocked in class Role
 o unlock
  public boolean unlock()
Unlock the role. For UnlockedRole this method should never be called; it does not have any effect.
Returns:
always returns true.
Overrides:
unlock in class Role

All Packages  Class Hierarchy  This Package  Previous  Next  Index