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 voidaddSource(Source source)booleanequals(java.lang.Object obj)Check objectjava.util.List<AppointmentSource>getAppointments()java.util.List<ProjectSource>getChildren()java.util.List<NoteSource>getNotes()ProjectSourcegetParentProject()java.nio.file.PathgetPath()Get pathWorkspaceSourcegetWorkspace()inthashCode()Return hashcodevoidsetAppointments(java.util.List<AppointmentSource> appointments)voidsetChildren(java.util.List<ProjectSource> children)voidsetNotes(java.util.List<NoteSource> notes)voidsetParentProject(ProjectSource parentProject)voidsetWorkspace(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:SourceGet path
-
hashCode
public int hashCode()
Description copied from class:SourceReturn hashcode
-
-