Class GroupMember

java.lang.Object
de.dlr.proseo.usermgr.model.GroupMember

@Entity public class GroupMember extends Object
Stores the association between users and groups
Author:
Dr. Thomas Bassler
  • Constructor Details

    • GroupMember

      public GroupMember()
  • Method Details

    • getId

      public long getId()
      Gets the database id of this association entry
      Returns:
      the id
    • setId

      public void setId(long id)
      Sets the database id of this association entry
      Parameters:
      id - the id to set
    • getUser

      public User getUser()
      Gets the user side of this association entry
      Returns:
      the user
    • setUser

      public void setUser(User user)
      Sets the user side of this association entry
      Parameters:
      user - the user to set
    • getGroup

      public Group getGroup()
      Gets the group side of this association entry
      Returns:
      the group
    • setGroup

      public void setGroup(Group group)
      Sets the group side of this association entry
      Parameters:
      group - the group to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object