Class ProjectImpl

java.lang.Object
cz.fidentis.analyst.project.impl.ProjectImpl
All Implemented Interfaces:
Project, Serializable

public class ProjectImpl extends Object implements Project
A FIDENTIS project.
See Also:
  • Constructor Details

    • ProjectImpl

      public ProjectImpl(Long id, String projectName)
      Constructor for a new empty project.
  • Method Details

    • getId

      public Long getId()
      Description copied from interface: Project
      Returns project's id
      Specified by:
      getId in interface Project
      Returns:
      project's id
    • getName

      public String getName()
      Description copied from interface: Project
      Returns project's name decoded from the name of the project's folder. If the project is not yet saved then DEFAULT_PROJECT_NAME is used.
      Specified by:
      getName in interface Project
      Returns:
      project's name
    • changed

      public boolean changed()
      Description copied from interface: Project
      Determines whether the project has changed and the should be saved.
      Specified by:
      changed in interface Project
      Returns:
      true if the project has changed and the should be saved.
    • setChanged

      public void setChanged(boolean changed)
      Description copied from interface: Project
      Sets the project's modification indicator
      Specified by:
      setChanged in interface Project
      Parameters:
      changed - modification indicator
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object