net.incongru.berkano.user
Class GroupImpl

java.lang.Object
  extended by net.incongru.berkano.user.GroupImpl
All Implemented Interfaces:
Group, PropertiesAware

public class GroupImpl
extends java.lang.Object
implements Group, PropertiesAware

Version:
$Revision: 1.9 $
Author:
greg, $Author: gj $ (last edit)

Constructor Summary
GroupImpl()
           
 
Method Summary
 void addRole(Role role)
           
 java.lang.Long getGroupId()
           
 java.lang.String getGroupName()
           
 java.util.Map getProperties()
           
 java.lang.Object getProperty(java.lang.String key)
           
 java.util.Set getRoles()
           
 java.util.Set getUsers()
           
 void removeProperty(java.lang.String key)
           
 void removeRole(Role role)
           
 void setGroupId(java.lang.Long groupId)
           
 void setGroupName(java.lang.String groupName)
           
 void setProperty(java.lang.String key, java.lang.Object object)
           
 void setRoles(java.util.Set roles)
           
 void setUsers(java.util.Set users)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupImpl

public GroupImpl()
Method Detail

getGroupId

public java.lang.Long getGroupId()
Specified by:
getGroupId in interface Group

setGroupId

public void setGroupId(java.lang.Long groupId)

getGroupName

public java.lang.String getGroupName()
Specified by:
getGroupName in interface Group

setGroupName

public void setGroupName(java.lang.String groupName)

getUsers

public java.util.Set getUsers()
Specified by:
getUsers in interface Group

setUsers

public void setUsers(java.util.Set users)

getRoles

public java.util.Set getRoles()
Specified by:
getRoles in interface Group

addRole

public void addRole(Role role)

removeRole

public void removeRole(Role role)

setRoles

public void setRoles(java.util.Set roles)

getProperty

public java.lang.Object getProperty(java.lang.String key)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object object)

removeProperty

public void removeProperty(java.lang.String key)

getProperties

public java.util.Map getProperties()
Specified by:
getProperties in interface PropertiesAware

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2007. All Rights Reserved.