|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.ProjectData
public class ProjectData
The data that makes up an OME Project along with links to its contained Datasets and the Experimenter that owns this Project.
Field Summary | |
---|---|
static String |
DATASET_LINKS
Identifies the Project#DATASETLINKS field. |
static String |
DESCRIPTION
Identifies the Project#DESCRIPTION field. |
static String |
NAME
Identifies the Project#NAME field. |
Constructor Summary | |
---|---|
ProjectData()
Creates a new instance. |
|
ProjectData(omero.model.Project project)
Creates a new instance. |
Method Summary | |
---|---|
Map<Long,Long> |
getAnnotationsCounts()
Returns the number of annotations linked to the object, key: id of the user, value: number of annotation. |
Set<DatasetData> |
getDatasets()
Returns the datasets contained in this project. |
String |
getDescription()
Returns the description of the project. |
String |
getName()
Returns the name of the project. |
void |
setDatasets(Set<DatasetData> newValue)
Sets the datasets contained in this project. |
void |
setDescription(String description)
Sets the description of the project. |
void |
setName(String name)
Sets the name of the project. |
Methods inherited from class pojos.DataObject |
---|
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME
Project#NAME
field.
public static final String DESCRIPTION
Project#DESCRIPTION
field.
public static final String DATASET_LINKS
Project#DATASETLINKS
field.
Constructor Detail |
---|
public ProjectData()
public ProjectData(omero.model.Project project)
project
- Back pointer to the Project
model object. Mustn't be
null
.
IllegalArgumentException
- If the object is null
.Method Detail |
---|
public void setName(String name)
name
- The name of the project. Mustn't be null
.
IllegalArgumentException
- If the name is null
.public String getName()
public void setDescription(String description)
description
- The description of the project.public String getDescription()
public Map<Long,Long> getAnnotationsCounts()
null
if
no annotation.
public Set<DatasetData> getDatasets()
public void setDatasets(Set<DatasetData> newValue)
newValue
- The set of datasets.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.