Class UserProjects

java.lang.Object
net.sf.basedb.core.data.keyring.ProjectPermission
net.sf.basedb.core.data.keyring.UserProjects
All Implemented Interfaces:
Serializable, Comparable<ProjectPermission>

public final class UserProjects extends ProjectPermission implements Serializable
Class for mapping the UserProjects table.
Version:
2.0
Author:
Nicklas
See Also:
Last modified
$Date: 2015-04-16 13:47:41 +0200 (to, 16 apr 2015) $
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • userId

      private int userId
  • Constructor Details

    • UserProjects

      public UserProjects()
      Create a new UserProjects object.
  • Method Details

    • getUserId

      public int getUserId()
      Get the id of the user.
    • setUserId

      public void setUserId(int userId)
      Set the id of the user.
    • equals

      public boolean equals(Object o)
      Check if this object is equal to another UserProjects object. They are considered to be the same if the user id and the project id are the same. The permission may be different.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Calculate the hash code for the object.
      Overrides:
      hashCode in class Object