You are on page 1of 1

1/

Class: Report

Attributes:

 NextID: Provide ID for reports


 ID: ID of report
 Name: Name of report
 CreationDate: Date of creation of report
 SectionName: Section that report belongs to
 ProjectName: Project that report belongs to
 OwnerName: Name of owner of report

Operations:

 create: Create report


 destroy: Destroy report
 getID: show report’s ID
 setName: set a name for report
 getName: show report’s name
 getCreationDate: show report’s creation date
 getSectionName: show section that report belongs to
 daaProjectName: add a project to report
 removeProjectName: remove report from a project
 setOwnerName: add a owner
 getOwnerName: show report’s owner
 doesReportHaveProject: check if report has project
 setNameAndOwner: set report’s name and owner’s name
 getNameAndOwner: show report’s name and owner
 refreshNameAndOwner: update report’s name and owner

You might also like