public class ProjectData extends DataObject
Modifier and Type | Field and Description |
---|---|
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 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, 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
Project#NAME
field.public static final String DESCRIPTION
Project#DESCRIPTION
field.public static final String DATASET_LINKS
Project#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.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.