|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.core.io.project.model.Project
public class Project
Represents a project.
Constructor Summary | |
---|---|
Project()
|
Method Summary | |
---|---|
String |
getAuthor()
|
Date |
getCreated()
|
String |
getDescription()
|
org.osgi.framework.Version |
getHaleVersion()
|
Date |
getModified()
|
String |
getName()
Get the project name |
List<ProjectFileInfo> |
getProjectFiles()
|
Map<String,String> |
getProperties()
|
List<IOConfiguration> |
getResources()
|
IOConfiguration |
getSaveConfiguration()
|
static Project |
load(InputStream in)
Load a project from an input stream. |
static void |
save(ProjectInfo project,
OutputStream out)
Save a project to an output stream. |
void |
setAuthor(String author)
|
void |
setCreated(Date created)
|
void |
setDescription(String description)
|
void |
setHaleVersion(org.osgi.framework.Version haleVersion)
|
void |
setModified(Date modified)
|
void |
setName(String name)
|
void |
setSaveConfiguration(IOConfiguration saveConfiguration)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Project()
Method Detail |
---|
public static Project load(InputStream in) throws org.exolab.castor.mapping.MappingException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
in
- the input stream
org.exolab.castor.mapping.MappingException
- if the mapping could not be loaded
org.exolab.castor.xml.MarshalException
- if the project could not be read
org.exolab.castor.xml.ValidationException
- if the input stream did not provide valid XMLpublic static void save(ProjectInfo project, OutputStream out) throws org.exolab.castor.mapping.MappingException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException
project
- the project to saveout
- the output stream
org.exolab.castor.mapping.MappingException
- if the mapping could not be loaded
org.exolab.castor.xml.ValidationException
- if the mapping is no valid XML
org.exolab.castor.xml.MarshalException
- if the project could not be marshaled
IOException
- if the output could not be writtenpublic List<IOConfiguration> getResources()
public String getName()
ProjectInfo
getName
in interface ProjectInfo
null
if not setProjectInfo.getName()
public void setName(String name)
name
- the name to setpublic String getAuthor()
getAuthor
in interface ProjectInfo
ProjectInfo.getAuthor()
public void setAuthor(String author)
author
- the author to setpublic org.osgi.framework.Version getHaleVersion()
getHaleVersion
in interface ProjectInfo
ProjectInfo.getHaleVersion()
public void setHaleVersion(org.osgi.framework.Version haleVersion)
haleVersion
- the haleVersion to setpublic Date getCreated()
getCreated
in interface ProjectInfo
ProjectInfo.getCreated()
public void setCreated(Date created)
created
- the created to setpublic Date getModified()
getModified
in interface ProjectInfo
ProjectInfo.getModified()
public void setModified(Date modified)
modified
- the modified to setpublic Map<String,String> getProperties()
public IOConfiguration getSaveConfiguration()
public void setSaveConfiguration(IOConfiguration saveConfiguration)
saveConfiguration
- the saveConfiguration to setpublic String getDescription()
getDescription
in interface ProjectInfo
ProjectInfo.getDescription()
public void setDescription(String description)
description
- the description to setpublic List<ProjectFileInfo> getProjectFiles()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |