java.lang.Object
ntnu.idatt2016.v233.SmartMat.entity.group.Group

@Entity(name="groups") public class Group extends Object
Group is an entity class representing a user group in the system.
Version:
1.3
Author:
Stian Lyng, Anders Austlid, Birk, Pedro
  • Constructor Details

    • Group

      public Group()
  • Method Details

    • addUser

      public void addUser(UserGroupAsso userGroupTable)
    • equals

      public boolean equals(Object o)
      Checks if two objects are equal
      Overrides:
      equals in class Object
      Parameters:
      o - the object to compare to
      Returns:
      true if the objects are equal, false otherwise
    • hashCode

      public int hashCode()
      Gets the hashcode of the object
      Overrides:
      hashCode in class Object
      Returns:
      the hashcode of the object