|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.ProjectData
public class ProjectData
This class holds information about a project.
Project| Field Summary |
|---|
| Fields inherited from interface org.proteios.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
ProjectData()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description for the item. |
Map<GroupData,Integer> |
getGroups()
Get the map that manages which users are members of this project and their permissions. |
String |
getName()
Get the name of the item. |
DirectoryData |
getProjectDirectory()
|
int |
getProjectType()
0 - Undefined 1 - Gel based Project 2 - Non gel based, this should be more specific |
Map<UserData,Integer> |
getUsers()
Get the map that manages which users are members of this project and their permissions. |
boolean |
isClosed()
|
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setClosed(boolean closed)
|
void |
setDescription(String description)
Set the description for the item. |
void |
setName(String name)
Set the name of the item. |
void |
setProjectDirectory(DirectoryData projectDirectory)
|
void |
setProjectType(int projectType)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
| Methods inherited from class org.proteios.core.data.OwnedData |
|---|
getOwner, setOwner |
| Methods inherited from class org.proteios.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.proteios.core.data.IdentifiableData |
|---|
getId, getVersion |
| Constructor Detail |
|---|
public ProjectData()
| Method Detail |
|---|
public DirectoryData getProjectDirectory()
public void setProjectDirectory(DirectoryData projectDirectory)
public int getProjectType()
public void setProjectType(int projectType)
public String getName()
NameableData
getName in interface NameableDataString with the name of the itempublic void setName(String name)
NameableDataMAX_NAME_LENGTH constant.
setName in interface NameableDataname - The new name for the itempublic String getDescription()
NameableData
getDescription in interface NameableDataString with a description of the itempublic void setDescription(String description)
NameableDataMAX_DESCRIPTION_LENGTH constant.
setDescription in interface NameableDatadescription - The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved in interface RemovableDatapublic void setRemoved(boolean removed)
RemovableData
setRemoved in interface RemovableDataremoved - TRUE if the item should be flagged as removed,
FALSE otherwisepublic Map<UserData,Integer> getUsers()
public Map<GroupData,Integer> getGroups()
public boolean isClosed()
public void setClosed(boolean closed)
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||