Package ch.zhaw.tasklist.source
Class AppointmentSource
- java.lang.Object
-
- ch.zhaw.tasklist.source.Source
-
- ch.zhaw.tasklist.source.AppointmentSource
-
public class AppointmentSource extends Source
Represents an appointment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AppointmentSource.Priority
-
Constructor Summary
Constructors Constructor Description AppointmentSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Check objectjava.lang.String
getComment()
Get commentjava.time.LocalDateTime
getEnd()
Get end dateAppointmentSource.Priority
getPriority()
Get priorityjava.time.LocalDateTime
getStart()
Get start dateint
hashCode()
Return hashcodevoid
setComment(java.lang.String comment)
Set commentvoid
setEnd(java.time.LocalDateTime end)
Set end datevoid
setPriority(AppointmentSource.Priority priority)
Set priorityvoid
setStart(java.time.LocalDateTime start)
Set start date
-
-
-
Field Detail
-
extension
public static final java.lang.String extension
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComment
public java.lang.String getComment()
Get comment- Returns:
-
setComment
public void setComment(java.lang.String comment)
Set comment- Parameters:
comment
-
-
getPriority
public AppointmentSource.Priority getPriority()
Get priority- Returns:
-
setPriority
public void setPriority(AppointmentSource.Priority priority)
Set priority- Parameters:
priority
-
-
getStart
public java.time.LocalDateTime getStart()
Get start date- Returns:
-
setStart
public void setStart(java.time.LocalDateTime start)
Set start date- Parameters:
start
-
-
getEnd
public java.time.LocalDateTime getEnd()
Get end date- Returns:
-
setEnd
public void setEnd(java.time.LocalDateTime end)
Set end date- Parameters:
end
-
-
-