Package cz.fidentis.analyst.project.impl
Class ProjectImpl
java.lang.Object
cz.fidentis.analyst.project.impl.ProjectImpl
- All Implemented Interfaces:
Project
,Serializable
A FIDENTIS project.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectImpl
(Long id, String projectName) Constructor for a new empty project. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Returns project's idgetName()
Returns project's name decoded from the name of the project's folder.int
hashCode()
boolean
changed()
Determines whether the project has changed and the should be saved.void
setChanged
(boolean changed) Sets the project's modification indicator
-
Constructor Details
-
ProjectImpl
Constructor for a new empty project.
-
-
Method Details
-
getId
Description copied from interface:Project
Returns project's id -
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 thenDEFAULT_PROJECT_NAME
is used. -
changed
public boolean changed()Description copied from interface:Project
Determines whether 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 interfaceProject
- Parameters:
changed
- modification indicator
-
equals
-
hashCode
public int hashCode()
-