Package ch.zhaw.tasklist.source
Class ProjectSource
- java.lang.Object
-
- ch.zhaw.tasklist.source.Source
-
- ch.zhaw.tasklist.source.ProjectSource
-
public class ProjectSource extends Source
Represents a Project. A Project is a Folder corresponding to a specific task.
-
-
Constructor Summary
Constructors Constructor Description ProjectSource()
ProjectSource(ProjectSource parentProject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSource(Source source)
boolean
equals(java.lang.Object obj)
Check objectjava.util.List<AppointmentSource>
getAppointments()
java.util.List<ProjectSource>
getChildren()
java.util.List<NoteSource>
getNotes()
ProjectSource
getParentProject()
java.nio.file.Path
getPath()
Get pathWorkspaceSource
getWorkspace()
int
hashCode()
Return hashcodevoid
setAppointments(java.util.List<AppointmentSource> appointments)
void
setChildren(java.util.List<ProjectSource> children)
void
setNotes(java.util.List<NoteSource> notes)
void
setParentProject(ProjectSource parentProject)
void
setWorkspace(WorkspaceSource workspace)
-
-
-
Constructor Detail
-
ProjectSource
public ProjectSource()
-
ProjectSource
public ProjectSource(ProjectSource parentProject)
-
-
Method Detail
-
getParentProject
public ProjectSource getParentProject()
-
setParentProject
public void setParentProject(ProjectSource parentProject)
-
getChildren
public java.util.List<ProjectSource> getChildren()
-
setChildren
public void setChildren(java.util.List<ProjectSource> children)
-
getAppointments
public java.util.List<AppointmentSource> getAppointments()
-
setAppointments
public void setAppointments(java.util.List<AppointmentSource> appointments)
-
getNotes
public java.util.List<NoteSource> getNotes()
-
setNotes
public void setNotes(java.util.List<NoteSource> notes)
-
getWorkspace
public WorkspaceSource getWorkspace()
-
setWorkspace
public void setWorkspace(WorkspaceSource workspace)
-
addSource
public void addSource(Source source)
-
getPath
public java.nio.file.Path getPath()
Description copied from class:Source
Get path
-
hashCode
public int hashCode()
Description copied from class:Source
Return hashcode
-
-