|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.DatasetData
public class DatasetData
The data that makes up an OME Dataset along with links to its contained Images and enclosing Project as well as the Experimenter that owns this Dataset.
Field Summary | |
---|---|
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 Summary | |
---|---|
DatasetData()
Creates a new instance. |
|
DatasetData(omero.model.Dataset dataset)
Creates a new instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class pojos.DataObject |
---|
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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.
Constructor Detail |
---|
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
.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.