Class Project

java.lang.Object
se.bth.pulse.entity.Project

@Entity(name="Project") public class Project extends Object
This is the entity class for the table Project. This class models the table Projects meaning that each instance of this class represents a row in the table. Using this class the table is created. This class is used to hold the projects that can be connected to the user. The connection between user and project is a many-to-many relationship. This means that one project can be connected to many users and one user can be connected to many projects.
  • Constructor Details

    • Project

      public Project()
  • Method Details

    • setId

      public void setId(Integer id)
    • setName

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setUsers

      public void setUsers(List<User> users)
    • setReportInterval

      public void setReportInterval(Project.ReportInterval reportInterval)
    • setStartDate

      public void setStartDate(Date startDate)
    • setEndDate

      public void setEndDate(Date endDate)
    • setReports

      public void setReports(List<Report> reports)