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: TurbineUserGroupRole.java 1844766 2018-10-24 13:09:19Z painter $
- Author:
- Eric Pugh
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TurbineUserGroupRole() -
Method Summary
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()
-
Constructor Details
-
TurbineUserGroupRole
public TurbineUserGroupRole()
-
-
Method Details
-
getGroup
Get the group- Returns:
- Returns the group.
-
getRole
Get the role- Returns:
- Returns the role.
-
getUser
Get the user- Returns:
- Returns the user.
-
setGroup
Set the group- Parameters:
group- The group to set.
-
setRole
Set the role- Parameters:
role- The role to set.
-
setUser
Set the user- Parameters:
user- The user to set.
-
equals
-
hashCode
public int hashCode() -
toString
-