com.pow2.acl
Class Permission

java.lang.Object
  extended bycom.pow2.acl.Actor
      extended bycom.pow2.acl.Permission

public class Permission
extends Actor

Simple container for Permission data.

Author:
Luca Fossato

Field Summary
 
Fields inherited from class com.pow2.acl.Actor
cat, id, name
 
Constructor Summary
Permission()
          Default constructor.
Permission(long id)
          Constructor.
Permission(String name)
          Constructor.
 
Methods inherited from class com.pow2.acl.Actor
getId, getName, setId, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Permission

public Permission()
Default constructor.


Permission

public Permission(String name)
Constructor. Set the permission name.

Parameters:
name - the permission name.

Permission

public Permission(long id)
Constructor. Set the permission identifier.

Parameters:
id - the permission identifier.


Copyright © 2002-2003 Power Of Two S.R.L. All Rights Reserved.