Class ProjectView

java.lang.Object
com.denodo.scheduler.client.project.ProjectView
All Implemented Interfaces:
Serializable

public class ProjectView extends Object implements 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 Details

    • ProjectView

      public ProjectView(Item currentProject, Collection<Item> projects)
      Constructs a ProjectView.
      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

      public Item getCurrentProject()
      Returns:
      the currentProject
    • setCurrentProject

      public void setCurrentProject(Item currentProject)
      Parameters:
      currentProject - the currentProject to set
    • getProjects

      public Collection<Item> getProjects()
      Obtains all the projects of the application, currentProject is not included.
      Returns:
      a Collection of Item, each encapsulating the basic information of a project, not including its children or values (if any).
    • setProjectNames

      public void setProjectNames(List<Item> projects)
      Parameters:
      projects - the projectNames to set
    • toString

      public String toString()
      Overrides:
      toString in class Object