com.pow2.acl
Class Actor

java.lang.Object
  extended bycom.pow2.acl.Actor
Direct Known Subclasses:
Group, Permission, Role

public abstract class Actor
extends Object

Abstract base class for Group, Role and Permissions classes.
Implements common methods.


Field Summary
protected  org.apache.log4j.Category cat
          Log4j category
protected  long id
          Actor identifier
protected  String name
          Actor name
 
Constructor Summary
protected Actor()
          Default Constructor.
protected Actor(long id)
          Constructor.
protected Actor(String name)
          Constructor.
 
Method Summary
 long getId()
          Gets the id attribute of the Actor object
 String getName()
          Gets the name attribute of the Actor object
 void setId(long v)
          Sets the id attribute of the Actor object
 void setName(String v)
          Sets the name attribute of the Actor object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected long id
Actor identifier


name

protected String name
Actor name


cat

protected org.apache.log4j.Category cat
Log4j category

Constructor Detail

Actor

protected Actor()
Default Constructor.


Actor

protected Actor(String name)
Constructor. Set the Actor name.


Actor

protected Actor(long id)
Constructor. Set the Actor identifier.

Method Detail

setId

public void setId(long v)
Sets the id attribute of the Actor object

Parameters:
v - The new id value

setName

public void setName(String v)
Sets the name attribute of the Actor object

Parameters:
v - The new name value

getId

public long getId()
Gets the id attribute of the Actor object

Returns:
The id value

getName

public String getName()
Gets the name attribute of the Actor object

Returns:
The name value


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