public boolean equals(Object o)
    {
        if (!(o instanceof Role))
        {
            return false;
        }

        Role that = (Role) o;

        return (this.roleName == that.roleName || this.roleName.equals(that.roleName))
                && (this.roleType == that.roleType || this.roleType.equals(that.roleType));

    }