public class DatasetData extends DataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATIONS
Identifies the
DatasetI.ANNOTATIONLINKS field. |
static java.lang.String |
DESCRIPTION
Identifies the
DatasetI.DESCRIPTION field. |
static java.lang.String |
IMAGE_LINKS
Identifies the
DatasetI.IMAGELINKS field. |
static java.lang.String |
NAME
Identifies the
DatasetI.NAME field. |
static java.lang.String |
PROJECT_LINKS
Identifies the
DatasetI.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 |
---|---|
java.util.Set |
getAnnotations()
Returns the annotations related to this dataset.
|
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.lang.String |
getDescription()
Returns the description of the dataset.
|
java.util.Set |
getImages()
Returns a set of images contained in the dataset.
|
java.lang.String |
getName()
Returns the name of the dataset.
|
java.util.Set |
getProjects()
Returns a set of projects containing the dataset.
|
void |
setAnnotations(java.util.Set newValue)
Sets the annotations related to this dataset.
|
void |
setDescription(java.lang.String description)
Sets the description of the dataset.
|
void |
setImages(java.util.Set<ImageData> newValue)
Sets the images contained in this dataset.
|
void |
setName(java.lang.String name)
Sets the name of the dataset.
|
void |
setProjects(java.util.Set<ProjectData> newValue)
Sets the projects containing the dataset.
|
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
DatasetI.NAME
field.public static final java.lang.String DESCRIPTION
DatasetI.DESCRIPTION
field.public static final java.lang.String IMAGE_LINKS
DatasetI.IMAGELINKS
field.public static final java.lang.String PROJECT_LINKS
DatasetI.PROJECTLINKS
field.public static final java.lang.String ANNOTATIONS
DatasetI.ANNOTATIONLINKS
field.public DatasetData()
public DatasetData(omero.model.Dataset dataset)
dataset
- Back pointer to the Dataset
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 dataset. 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 dataset.public java.lang.String getDescription()
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationsCounts()
null
if
no annotation.public java.util.Set getImages()
public java.util.Set getProjects()
public void setImages(java.util.Set<ImageData> newValue)
newValue
- The set of images.public void setProjects(java.util.Set<ProjectData> newValue)
newValue
- The set of projects.public java.util.Set getAnnotations()
public void setAnnotations(java.util.Set newValue)
newValue
- The set of annotations.
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.