Class TurbineUserGroupRole
- java.lang.Object
-
- org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRole
-
- All Implemented Interfaces:
Serializable
public class TurbineUserGroupRole extends Object implements Serializable
Represents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.- Version:
- $Id$
- Author:
- Eric Pugh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TurbineUserGroupRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)GroupgetGroup()Get the groupRolegetRole()Get the roleUsergetUser()Get the userinthashCode()voidsetGroup(Group group)Set the groupvoidsetRole(Role role)Set the rolevoidsetUser(User user)Set the userStringtoString()
-
-
-
Method Detail
-
getGroup
public Group getGroup()
Get the group- Returns:
- Returns the group.
-
getRole
public Role getRole()
Get the role- Returns:
- Returns the role.
-
getUser
public User getUser()
Get the user- Returns:
- Returns the user.
-
setGroup
public void setGroup(Group group)
Set the group- Parameters:
group- The group to set.
-
setRole
public void setRole(Role role)
Set the role- Parameters:
role- The role to set.
-
setUser
public void setUser(User user)
Set the user- Parameters:
user- The user to set.
-
-