org.romaframework.module.users.domain
Class AbstractAccount

java.lang.Object
  extended by org.romaframework.module.users.domain.AbstractAccount
All Implemented Interfaces:
java.security.Principal
Direct Known Subclasses:
BaseAccount, BaseGroup

public abstract class AbstractAccount
extends java.lang.Object
implements java.security.Principal

Base abstract class representing an account in the system. Current direct implementations are BaseAccount and BaseGroup. This generalization allows to assign privileges to a single account or to a group of it.

Author:
Giordano Maestro (giordano.maestro--at--assetdata.it)

Constructor Summary
AbstractAccount()
           
 
Method Summary
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

AbstractAccount

public AbstractAccount()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set