public class ProjectData extends DataObject
Modifier and Type | Field and Description |
---|---|
static String |
DATASET_LINKS
Identifies the
ProjectI.DATASETLINKS field. |
static String |
DESCRIPTION
Identifies the
ProjectI.DESCRIPTION field. |
static String |
NAME
Identifies the
ProjectI.NAME field. |
Constructor and Description |
---|
ProjectData()
Creates a new instance.
|
ProjectData(omero.model.Project project)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
public static final String NAME
ProjectI.NAME
field.public static final String DESCRIPTION
ProjectI.DESCRIPTION
field.public static final String DATASET_LINKS
ProjectI.DATASETLINKS
field.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
.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.
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.