public class ProjectData extends DataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATASET_LINKS
Identifies the
ProjectI.DATASETLINKS field. |
static java.lang.String |
DESCRIPTION
Identifies the
ProjectI.DESCRIPTION field. |
static java.lang.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 |
---|---|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationsCounts()
Returns the number of annotations linked to the object, key: id of the
user, value: number of annotation.
|
java.util.Set<DatasetData> |
getDatasets()
Returns the datasets contained in this project.
|
java.lang.String |
getDescription()
Returns the description of the project.
|
java.lang.String |
getName()
Returns the name of the project.
|
void |
setDatasets(java.util.Set<DatasetData> newValue)
Sets the datasets contained in this project.
|
void |
setDescription(java.lang.String description)
Sets the description of the project.
|
void |
setName(java.lang.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, canChgrp, canChown, 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 java.lang.String NAME
ProjectI.NAME
field.public static final java.lang.String DESCRIPTION
ProjectI.DESCRIPTION
field.public static final java.lang.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
.java.lang.IllegalArgumentException
- If the object is null
.public void setName(java.lang.String name)
name
- The name of the project. Mustn't be null
.java.lang.IllegalArgumentException
- If the name is null
.public java.lang.String getName()
public void setDescription(java.lang.String description)
description
- The description of the project.public java.lang.String getDescription()
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationsCounts()
null
if
no annotation.public java.util.Set<DatasetData> getDatasets()
public void setDatasets(java.util.Set<DatasetData> newValue)
newValue
- The set of datasets.