|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.ProjectData
public class ProjectData
This class holds information about a project.
Project
,
Authentication overviewField Summary | |
---|---|
private String |
description
|
private Map<GroupData,Integer> |
groups
|
private String |
name
|
private Map<String,String> |
projectDefaults
|
private Set<ProjectKeyData> |
projectKeys
|
private boolean |
removed
|
private Map<UserData,Integer> |
users
|
Fields inherited from interface net.sf.basedb.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. |
Map<String,String> |
getProjectDefaults()
Gets the default values |
(package private) Set<ProjectKeyData> |
getProjectKeys()
This is the inverse end. |
Map<UserData,Integer> |
getUsers()
Get the map that manages which users are members of this project and their permissions. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setDescription(String description)
Set the description for the item. |
(package private) void |
setGroups(Map<GroupData,Integer> groups)
|
void |
setName(String name)
Set the name of the item. |
(package private) void |
setProjectDefaults(Map<String,String> projectDefaults)
|
(package private) void |
setProjectKeys(Set<ProjectKeyData> projectKeys)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
(package private) void |
setUsers(Map<UserData,Integer> users)
|
Methods inherited from class net.sf.basedb.core.data.OwnedData |
---|
getOwner, setOwner |
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Field Detail |
---|
private String name
private String description
private boolean removed
private Map<UserData,Integer> users
private Map<GroupData,Integer> groups
private Set<ProjectKeyData> projectKeys
private Map<String,String> projectDefaults
Constructor Detail |
---|
public ProjectData()
Method Detail |
---|
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.
setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.
setDescription
in interface NameableData
description
- The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic Map<UserData,Integer> getUsers()
void setUsers(Map<UserData,Integer> users)
public Map<GroupData,Integer> getGroups()
void setGroups(Map<GroupData,Integer> groups)
Set<ProjectKeyData> getProjectKeys()
ProjectKeyData.getProjects()
void setProjectKeys(Set<ProjectKeyData> projectKeys)
public Map<String,String> getProjectDefaults()
void setProjectDefaults(Map<String,String> projectDefaults)
|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |