Interface ActivityData
public interface ActivityData
Model for a project activity on a given
day including project
id, duration and comment.-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetComment(String comment) Set the activity's comment.voidsetDuration(Duration duration) Set the duration of the activity.voidsetProjectId(String id) Set the project's ID.
-
Method Details
-
getProjectId
String getProjectId()- Returns:
- the project's ID.
-
setProjectId
Set the project's ID.- Parameters:
id- the new ID.
-
getDuration
Duration getDuration()- Returns:
- the duration of the activity.
-
isRemainder
boolean isRemainder()- Returns:
trueif this is the remainder activity i.e. the duration isnull.
-
setDuration
Set the duration of the activity.- Parameters:
duration- the new duration. Set tonullfor the remainder activity.
-
getComment
String getComment()- Returns:
- the activity's comment.
-
setComment
Set the activity's comment.- Parameters:
comment- the new comment.
-