Package se.bth.pulse.entity
Class Project
java.lang.Object
se.bth.pulse.entity.Project
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum for the report interval. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setDescription
(String description) void
setEndDate
(Date endDate) void
void
void
setReportInterval
(Project.ReportInterval reportInterval) void
setReports
(List<Report> reports) void
setStartDate
(Date startDate) void
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
setId
-
setName
-
setDescription
-
setUsers
-
setReportInterval
-
setStartDate
-
setEndDate
-
setReports
-