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 boolean
equals(Object obj)
Group
getGroup()
Get the groupRole
getRole()
Get the roleUser
getUser()
Get the userint
hashCode()
void
setGroup(Group group)
Set the groupvoid
setRole(Role role)
Set the rolevoid
setUser(User user)
Set the userString
toString()
-
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
-