Class Group
java.lang.Object
edu.cnm.deepdive.teamassignments.model.entity.Group
Entity class for Group object using JPA mapping.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Boolean 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 userint
hashCode()
The hashcode to verify uservoid
Sets the name of uservoid
Sets teh owner of the group
-
Constructor Details
-
Group
public Group()
-
-
Method Details
-
getId
Gets the group's id- Returns:
- the group's id in long format
-
getCreationDate
Gets the Date the group was created- Returns:
- the group's creation date
-
getOwner
Gets the owner of the group- Returns:
- the group owner
-
setOwner
Sets teh owner of the group- Parameters:
owner
- of the group
-
getName
Gets the name of user.- Returns:
- the name of user in string format
-
setName
Sets the name of user- Parameters:
name
- of user in string format
-
getTasks
Gets a list of Tasks- Returns:
- list of task
-
getUsers
Sets the user- Returns:
- the user
-
hashCode
public int hashCode()The hashcode to verify user -
equals
Boolean status for the group class will be returned if it matches the request id.
-