Class 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 Detail

      • TurbineUserGroupRole

        public TurbineUserGroupRole()
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object