public class DatasetData extends DataObject
Modifier and Type | Field and Description |
---|---|
static String |
ANNOTATIONS
Identifies the
Dataset#ANNOTATIONLINKS field. |
static String |
DESCRIPTION
Identifies the
Dataset#DESCRIPTION field. |
static String |
IMAGE_LINKS
Identifies the
Dataset#IMAGELINKS field. |
static String |
NAME
Identifies the
Dataset#NAME field. |
static String |
PROJECT_LINKS
Identifies the
Dataset#PROJECTLINKS field. |
Constructor and Description |
---|
DatasetData()
Creates a new instance.
|
DatasetData(omero.model.Dataset dataset)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Set |
getAnnotations()
Returns the annotations related to this dataset.
|
Map<Long,Long> |
getAnnotationsCounts()
Returns the number of annotations linked to the object, key: id of the
user, value: number of annotation.
|
String |
getDescription()
Returns the description of the dataset.
|
Set |
getImages()
Returns a set of images contained in the dataset.
|
String |
getName()
Returns the name of the dataset.
|
Set |
getProjects()
Returns a set of projects containing the dataset.
|
void |
setAnnotations(Set newValue)
Sets the annotations related to this dataset.
|
void |
setDescription(String description)
Sets the description of the dataset.
|
void |
setImages(Set<ImageData> newValue)
Sets the images contained in this dataset.
|
void |
setName(String name)
Sets the name of the dataset.
|
void |
setProjects(Set<ProjectData> newValue)
Sets the projects containing the dataset.
|
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
Dataset#NAME
field.public static final String DESCRIPTION
Dataset#DESCRIPTION
field.public static final String IMAGE_LINKS
Dataset#IMAGELINKS
field.public static final String PROJECT_LINKS
Dataset#PROJECTLINKS
field.public static final String ANNOTATIONS
Dataset#ANNOTATIONLINKS
field.public DatasetData()
public DatasetData(omero.model.Dataset dataset)
dataset
- Back pointer to the Dataset
model object. Mustn't be
null
.IllegalArgumentException
- If the object is null
.public void setName(String name)
name
- The name of the dataset. Mustn't be null
.IllegalArgumentException
- If the name is null
.public String getName()
public void setDescription(String description)
description
- The description of the dataset.public String getDescription()
public Map<Long,Long> getAnnotationsCounts()
null
if
no annotation.public Set getImages()
public Set getProjects()
public void setImages(Set<ImageData> newValue)
newValue
- The set of images.public void setProjects(Set<ProjectData> newValue)
newValue
- The set of projects.public Set getAnnotations()
public void setAnnotations(Set newValue)
newValue
- The set of annotations.
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.