Class Group
java.lang.Object
edu.cnm.deepdive.teamassignments.model.entity.Group
Entity class for Group object using JPA mapping.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanBoolean status for the group class will be returned if it matches the request id.Gets the Date the group was createdgetId()Gets the group's idgetName()Gets the name of user.getOwner()Gets the owner of the groupgetTasks()Gets a list of TasksgetUsers()Sets the userinthashCode()The hashcode to verify uservoidSets the name of uservoidSets teh owner of the group
- 
Constructor Details- 
Grouppublic Group()
 
- 
- 
Method Details- 
getIdGets the group's id- Returns:
- the group's id in long format
 
- 
getCreationDateGets the Date the group was created- Returns:
- the group's creation date
 
- 
getOwnerGets the owner of the group- Returns:
- the group owner
 
- 
setOwnerSets teh owner of the group- Parameters:
- owner- of the group
 
- 
getNameGets the name of user.- Returns:
- the name of user in string format
 
- 
setNameSets the name of user- Parameters:
- name- of user in string format
 
- 
getTasksGets a list of Tasks- Returns:
- list of task
 
- 
getUsersSets the user- Returns:
- the user
 
- 
hashCodepublic int hashCode()The hashcode to verify user
- 
equalsBoolean status for the group class will be returned if it matches the request id.
 
-