Class ProjectKeyData

All Implemented Interfaces:
IdentifiableData

public class ProjectKeyData extends KeyData
This class holds information access privileges for projects.
Version:
2.0
Author:
Nicklas
See Also:
Last modified
$Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
Hibernate: subclass
discriminator-value="2"
  • Field Details

  • Constructor Details

    • ProjectKeyData

      public ProjectKeyData()
  • Method Details

    • getProjects

      public Map<ProjectData,Integer> getProjects()
      Get the map that manages which projects that have permissions for this key.
      Hibernate: map
      table="`ProjectKeys`" lazy="true"
      Hibernate: index-many-to-many
      column="`project_id`" class="net.sf.basedb.core.data.ProjectData"
      Hibernate: collection-key
      column="`key_id`"
      Hibernate: collection-element
      column="`permission`" type="int" not-null="true"
    • setProjects

      void setProjects(Map<ProjectData,Integer> projects)