Class ProjectView
java.lang.Object
com.denodo.scheduler.client.project.ProjectView
- All Implemented Interfaces:
Serializable
ProjectView encapsulates an
Item as the currentProject,
including all of its children or values (if any) and a Collection of Item
in which the currentProject) is not included.
Each Item of the Collection has the basic information
of a project, not including its children or values (if any).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectView(Item currentProject, Collection<Item> projects) Constructs aProjectView. -
Method Summary
Modifier and TypeMethodDescriptionObtains all the projects of the application,currentProjectis not included.voidsetCurrentProject(Item currentProject) voidsetProjectNames(List<Item> projects) toString()
-
Constructor Details
-
ProjectView
Constructs aProjectView.- Parameters:
currentProject-projects- a Collection of Item (currentProject) should not be included), each encapsulating the basic information of a project, not including its children or values (if any).
-
-
Method Details
-
getCurrentProject
- Returns:
- the currentProject
-
setCurrentProject
- Parameters:
currentProject- the currentProject to set
-
getProjects
Obtains all the projects of the application,currentProjectis not included.- Returns:
- a Collection of Item, each encapsulating the basic information of a project, not including its children or values (if any).
-
setProjectNames
- Parameters:
projects- the projectNames to set
-
toString
-