|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jstatcom.project.Project
public final class Project
Holds all elements that make up a project. This class is XML serializable. A project contains of the following elements:
OutputData
objects to represent
the history of all computations that have been carried out for a project
ProjectDataTypes
for representing all
loaded data of potentially different types
ProjectState
objects that represent the
module states
Field Summary | |
---|---|
static javolution.xml.XmlFormat<Project> |
Project_XML
|
Constructor Summary | |
---|---|
Project(java.lang.String name,
java.lang.String description)
Creates a new project with a name and a project description. |
Method Summary | |
---|---|
void |
addOutputData(OutputData outputData)
Adds a new output data element to this project. |
void |
addProjectData(ProjectData pData)
Adds project data to this project. |
void |
addProjectState(ProjectState projectState)
Adds a new project state to this project. |
java.lang.String |
getCurrentModuleFrame()
Gets the name of the module frame that should be displayed when this project is loaded. |
java.util.Date |
getDate()
Gets the creation date of this project. |
java.lang.String |
getDescription()
Gets the description of this project. |
java.lang.String |
getName()
Gets the name of this project. |
java.util.Iterator |
getOutputDataIterator()
Gets an iterator over all output data elements. |
java.util.Iterator |
getProjectDataIterator()
Gets an iterator over all added project data object. |
java.util.Iterator |
getProjectStatesIterator()
Gets an iterator over all project states. |
void |
setCurrentModuleFrame(java.lang.String currentModuleFrame)
Sets the name of the module frame that should be displayed when this project is loaded. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javolution.xml.XmlFormat<Project> Project_XML
Constructor Detail |
---|
public Project(java.lang.String name, java.lang.String description)
name
- name of the project, will automatically be set to
"project"
if null
or emptydescription
- description of this project, can be null
Method Detail |
---|
public void addProjectData(ProjectData pData)
pData
- element of the project data store to be serialized
java.lang.IllegalArgumentException
- if (dataStoreType == null
)public void addOutputData(OutputData outputData)
outputData
- output data object
java.lang.IllegalArgumentException
- if (outputData == null
)public void addProjectState(ProjectState projectState)
projectState == null
.
projectState
- project state objectpublic java.util.Iterator getOutputDataIterator()
public java.util.Iterator getProjectDataIterator()
public java.util.Iterator getProjectStatesIterator()
public java.util.Date getDate()
public java.lang.String getDescription()
null
but
""
if emptypublic java.lang.String getName()
public java.lang.String getCurrentModuleFrame()
public void setCurrentModuleFrame(java.lang.String currentModuleFrame)
currentModuleFrame
- frame title of the module
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |