|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.ImageData
public class ImageData
The data that makes up an OME Image along with links to its Pixels, enclosing Datasets, and the Experimenter that owns this Image.
Field Summary | |
---|---|
static String |
ANNOTATIONS
Identifies the Image#ANNOTATIONLINKS field. |
static String |
DATASET_LINKS
Identifies the Image#DATASETLINKS field. |
static String |
DESCRIPTION
Identifies the Image#DESCRIPTION field. |
static String |
NAME
Identifies the Image#NAME field. |
static String |
PIXELS
Identifies the Image#PIXELS field. |
Constructor Summary | |
---|---|
ImageData()
Creates a new instance. |
|
ImageData(omero.model.Image image)
Creates a new instance. |
Method Summary | |
---|---|
Timestamp |
getAcquisitionDate()
Returns the acquisition date. |
List<PixelsData> |
getAllPixels()
Returns all the sets of pixels related to this image. |
Set |
getAnnotations()
Returns the annotations |
Map<Long,Long> |
getAnnotationsCounts()
Returns the number of annotations linked to the object, key: id of the user, value: number of annotation. |
Set |
getDatasets()
Returns the datasets containing this image. |
PixelsData |
getDefaultPixels()
Returns the default set of pixels. |
String |
getDescription()
Returns the description of the image. |
String |
getFormat()
Returns the format of the image. |
int |
getIndex()
Returns the index of the image within the multi-images file. |
Timestamp |
getInserted()
Returns the insertion time of the image. |
long |
getInstrumentId()
Returns the id of the instrument if any. |
String |
getName()
Returns the name of the image. |
String |
getParentFilePath()
Returns the path to the file hosting the image. |
String |
getPathToFile()
Returns the path to the file. |
omero.model.OriginalFile |
getReference()
Returns the reference to the file to register. |
boolean |
isArchived()
Returns true if the image has been archived,
false otherwise. |
boolean |
isLifetime()
Returns true if the image is a lifetime image,
false otherwise. |
void |
setAllPixels(List<PixelsData> newValue)
Sets the set of pixels related to this image. |
void |
setAnnotations(Set newValue)
Sets the image's annotations. |
void |
setDatasets(Set newValue)
Sets the datasets containing the image. |
void |
setDefaultPixels(PixelsData defaultPixels)
Sets the default set of pixels. |
void |
setDescription(String description)
Sets the description of the image. |
void |
setName(String name)
Sets the name of the image. |
void |
setParentFilePath(String path,
int index)
Sets the path to the file hosting the image. |
void |
setPathToFile(String path)
Sets the path to the file. |
void |
setReference(omero.model.OriginalFile reference)
Sets the reference to the file to register. |
void |
setRegisteredFile(omero.model.Image object)
Sets the registered file. |
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
Image#NAME
field.
public static final String DESCRIPTION
Image#DESCRIPTION
field.
public static final String PIXELS
Image#PIXELS
field.
public static final String ANNOTATIONS
Image#ANNOTATIONLINKS
field.
public static final String DATASET_LINKS
Image#DATASETLINKS
field.
Constructor Detail |
---|
public ImageData()
public ImageData(omero.model.Image image)
image
- Back pointer to the Image
model object. Mustn't be
null
.
IllegalArgumentException
- If the object is null
.Method Detail |
---|
public void setPathToFile(String path)
path
- The value to set.public void setReference(omero.model.OriginalFile reference)
reference
- The value to set.public omero.model.OriginalFile getReference()
public String getPathToFile()
public void setParentFilePath(String path, int index)
Leica
files.
Sets the index of the image within that file.
path
- The path to set.index
- The index to set.public String getParentFilePath()
Leica
files.
public int getIndex()
public String getFormat()
public void setRegisteredFile(omero.model.Image object)
object
- The object to store.public void setName(String name)
name
- The name of the image. Mustn't be null
.
IllegalArgumentException
- If the name is null
.public String getName()
public void setDescription(String description)
description
- The description of the image.public String getDescription()
public boolean isArchived()
true
if the image has been archived,
false
otherwise.
public Map<Long,Long> getAnnotationsCounts()
null
if
no annotation.
public Timestamp getInserted()
public Timestamp getAcquisitionDate()
public PixelsData getDefaultPixels()
public void setDefaultPixels(PixelsData defaultPixels)
defaultPixels
- The default set of pixels.public List<PixelsData> getAllPixels()
public void setAllPixels(List<PixelsData> newValue)
newValue
- The set of pixels' set.public Set getDatasets()
public void setDatasets(Set newValue)
newValue
- The set of datasets.public Set getAnnotations()
public void setAnnotations(Set newValue)
newValue
- The set of annotations.public boolean isLifetime()
true
if the image is a lifetime image,
false
otherwise.
public long getInstrumentId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.