com.pow2.acl
Class Role

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

public class Role
extends Actor

Simple container for Role data.

Author:
Luca Fossato

Field Summary
 
Fields inherited from class com.pow2.acl.Actor
cat, id, name
 
Constructor Summary
Role()
          Default constructor.
Role(long id)
          Constructor.
Role(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

Role

public Role()
Default constructor.


Role

public Role(String name)
Constructor. Set the role name.

Parameters:
name - the role name.

Role

public Role(long id)
Constructor. Set the role identifier.

Parameters:
id - the role identifier.


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