@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Image extends java.lang.Object implements java.io.Serializable, IObject, IMutable, IAnnotated
Modifier and Type | Class and Description |
---|---|
static class |
Image.Details |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
_dynamicFields |
protected boolean |
_loaded |
protected java.sql.Timestamp |
acquisitionDate |
static java.lang.String |
ACQUISITIONDATE |
protected java.util.Set<ImageAnnotationLink> |
annotationLinks |
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
ANNOTATIONLINKSCOUNTPEROWNER |
protected java.lang.Boolean |
archived |
static java.lang.String |
ARCHIVED |
protected java.util.Set<DatasetImageLink> |
datasetLinks |
static java.lang.String |
DATASETLINKS |
static java.lang.String |
DATASETLINKSCOUNTPEROWNER |
protected java.lang.String |
description |
static java.lang.String |
DESCRIPTION |
protected Details |
details |
static java.lang.String |
DETAILS |
static java.lang.String |
EVENT_FILTER |
static java.lang.String |
EVENT_FILTER_ANNOTATIONLINKS |
static java.lang.String |
EVENT_FILTER_DATASETLINKS |
static java.lang.String |
EVENT_FILTER_FOLDERLINKS |
static java.lang.String |
EVENT_FILTER_PIXELS |
static java.lang.String |
EVENT_FILTER_ROIS |
static java.lang.String |
EVENT_FILTER_WELLSAMPLES |
protected Experiment |
experiment |
static java.lang.String |
EXPERIMENT |
static java.util.Set<java.lang.String> |
FIELDS |
protected Fileset |
fileset |
static java.lang.String |
FILESET |
protected java.util.Set<FolderImageLink> |
folderLinks |
static java.lang.String |
FOLDERLINKS |
static java.lang.String |
FOLDERLINKSCOUNTPEROWNER |
protected Format |
format |
static java.lang.String |
FORMAT |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
GROUP_FILTER_ANNOTATIONLINKS |
static java.lang.String |
GROUP_FILTER_DATASETLINKS |
static java.lang.String |
GROUP_FILTER_FOLDERLINKS |
static java.lang.String |
GROUP_FILTER_PIXELS |
static java.lang.String |
GROUP_FILTER_ROIS |
static java.lang.String |
GROUP_FILTER_WELLSAMPLES |
protected java.lang.Long |
id |
static java.lang.String |
ID |
protected ImagingEnvironment |
imagingEnvironment |
static java.lang.String |
IMAGINGENVIRONMENT |
protected Instrument |
instrument |
static java.lang.String |
INSTRUMENT |
protected java.lang.String |
name |
static java.lang.String |
NAME |
protected ObjectiveSettings |
objectiveSettings |
static java.lang.String |
OBJECTIVESETTINGS |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
OWNER_FILTER_ANNOTATIONLINKS |
static java.lang.String |
OWNER_FILTER_DATASETLINKS |
static java.lang.String |
OWNER_FILTER_FOLDERLINKS |
static java.lang.String |
OWNER_FILTER_PIXELS |
static java.lang.String |
OWNER_FILTER_ROIS |
static java.lang.String |
OWNER_FILTER_WELLSAMPLES |
protected java.lang.Boolean |
partial |
static java.lang.String |
PARTIAL |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_ANNOTATIONLINKS |
static java.lang.String |
PERMS_FILTER_DATASETLINKS |
static java.lang.String |
PERMS_FILTER_FOLDERLINKS |
static java.lang.String |
PERMS_FILTER_PIXELS |
static java.lang.String |
PERMS_FILTER_ROIS |
static java.lang.String |
PERMS_FILTER_WELLSAMPLES |
protected java.util.List<Pixels> |
pixels |
static java.lang.String |
PIXELS |
protected java.util.Set<Roi> |
rois |
static java.lang.String |
ROIS |
protected java.lang.Integer |
series |
static java.lang.String |
SERIES |
protected StageLabel |
stageLabel |
static java.lang.String |
STAGELABEL |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
protected java.util.Set<WellSample> |
wellSamples |
static java.lang.String |
WELLSAMPLES |
Modifier | Constructor and Description |
---|---|
|
Image() |
protected |
Image(java.lang.Long id) |
|
Image(java.lang.Long id,
boolean loaded)
Main constructor.
|
|
Image(java.lang.String _name) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addDatasetImageLink(DatasetImageLink target)
use instead of setDatasetLinks .
|
void |
addDatasetImageLink(DatasetImageLink link,
boolean bothSides)
Adds a ome.model.containers.DatasetImageLink to datasetLinks, allowing for recursion -- whether
or not addDatasetImageLink will be called on the addition if it is loaded
|
void |
addDatasetImageLinkSet(java.util.Collection<DatasetImageLink> targets)
use like addDatasetImageLink.
|
void |
addFolderImageLink(FolderImageLink target)
use instead of setFolderLinks .
|
void |
addFolderImageLink(FolderImageLink link,
boolean bothSides)
Adds a ome.model.containers.FolderImageLink to folderLinks, allowing for recursion -- whether
or not addFolderImageLink will be called on the addition if it is loaded
|
void |
addFolderImageLinkSet(java.util.Collection<FolderImageLink> targets)
use like addFolderImageLink.
|
void |
addImageAnnotationLink(ImageAnnotationLink target)
use instead of setAnnotationLinks .
|
void |
addImageAnnotationLink(ImageAnnotationLink link,
boolean bothSides)
Adds a ome.model.annotations.ImageAnnotationLink to annotationLinks, allowing for recursion -- whether
or not addImageAnnotationLink will be called on the addition if it is loaded
|
void |
addImageAnnotationLinkSet(java.util.Collection<ImageAnnotationLink> targets)
use like addImageAnnotationLink.
|
void |
addPixels(Pixels target)
use instead of setPixels .
|
void |
addPixelsSet(java.util.Collection<Pixels> targets)
use like addPixels.
|
void |
addRoi(Roi target)
use instead of setRois .
|
void |
addRoiSet(java.util.Collection<Roi> targets)
use like addRoi.
|
void |
addWellSample(WellSample target)
use instead of setWellSamples .
|
void |
addWellSampleSet(java.util.Collection<WellSample> targets)
use like addWellSample.
|
void |
clearAnnotationLinks()
clears the set.
|
void |
clearDatasetLinks()
clears the set.
|
void |
clearFolderLinks()
clears the set.
|
void |
clearPixels()
clears the set.
|
void |
clearRois()
clears the set.
|
void |
clearWellSamples()
clears the set.
|
<E> java.util.List<E> |
collectAnnotationLinks(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.annotations.ImageAnnotationLink while
collecting the results.
|
<E> java.util.List<E> |
collectDatasetLinks(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.containers.DatasetImageLink while
collecting the results.
|
<E> java.util.List<E> |
collectFolderLinks(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.containers.FolderImageLink while
collecting the results.
|
<E> java.util.List<E> |
collectPixels(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.Pixels while
collecting the results.
|
<E> java.util.List<E> |
collectRois(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.roi.Roi while
collecting the results.
|
<E> java.util.List<E> |
collectWellSamples(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.WellSample while
collecting the results.
|
<E> java.util.List<E> |
eachLinkedAnnotation(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.annotations.Annotation while
collecting the results.
|
<E> java.util.List<E> |
eachLinkedDataset(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.containers.Dataset while
collecting the results.
|
<E> java.util.List<E> |
eachLinkedFolder(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.containers.Folder while
collecting the results.
|
protected void |
errorIfUnloaded() |
java.util.Set<java.lang.String> |
fields()
returns a Set of field names that belong to this class
|
java.util.Set<DatasetImageLink> |
findDatasetImageLink(Dataset target)
find all ome.model.containers.DatasetImageLink which have the argument as their parent.
|
java.util.Set<FolderImageLink> |
findFolderImageLink(Folder target)
find all ome.model.containers.FolderImageLink which have the argument as their parent.
|
java.util.Set<ImageAnnotationLink> |
findImageAnnotationLink(Annotation target)
find all ome.model.annotations.ImageAnnotationLink which have the argument as their child.
|
java.sql.Timestamp |
getAcquisitionDate()
Simple field ome.model.core.Image.acquisitionDate (java.sql.Timestamp)
|
protected java.util.Set<ImageAnnotationLink> |
getAnnotationLinks()
returns annotationLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.annotations.ImageAnnotationLink that a user has.
|
java.lang.Boolean |
getArchived()
Simple field ome.model.core.Image.archived (java.lang.Boolean)
|
protected java.util.Set<DatasetImageLink> |
getDatasetLinks()
returns datasetLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getDatasetLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.containers.DatasetImageLink that a user has.
|
java.lang.String |
getDescription()
Simple field ome.model.core.Image.description (java.lang.String)
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
Experiment |
getExperiment()
Many-to-one field ome.model.core.Image.experiment (ome.model.experiment.Experiment)
|
Fileset |
getFileset()
Many-to-one field ome.model.core.Image.fileset (ome.model.fs.Fileset)
|
protected java.util.Set<FolderImageLink> |
getFolderLinks()
returns folderLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getFolderLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.containers.FolderImageLink that a user has.
|
Format |
getFormat()
Many-to-one field ome.model.core.Image.format (ome.model.enums.Format)
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
java.lang.Long |
getId()
The DB unique identifier for this object.
|
ImagingEnvironment |
getImagingEnvironment()
Many-to-one field ome.model.core.Image.imagingEnvironment (ome.model.acquisition.ImagingEnvironment)
|
Instrument |
getInstrument()
Many-to-one field ome.model.core.Image.instrument (ome.model.acquisition.Instrument)
|
java.lang.String |
getName()
Simple field ome.model.core.Image.name (java.lang.String)
|
ObjectiveSettings |
getObjectiveSettings()
Many-to-one field ome.model.core.Image.objectiveSettings (ome.model.acquisition.ObjectiveSettings)
|
java.lang.Boolean |
getPartial()
Simple field ome.model.core.Image.partial (java.lang.Boolean)
|
protected java.util.List<Pixels> |
getPixels()
returns pixels .
|
Pixels |
getPixels(int index)
Gets the ome.model.core.Pixels at the given index.
|
Pixels |
getPrimaryPixels()
Gets the first element of pixels which can be interpreted as the
primary or default element in some situations.
|
protected java.util.Set<Roi> |
getRois()
returns rois .
|
java.lang.Integer |
getSeries()
Simple field ome.model.core.Image.series (java.lang.Integer)
|
StageLabel |
getStageLabel()
Many-to-one field ome.model.core.Image.stageLabel (ome.model.acquisition.StageLabel)
|
java.lang.Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
protected java.util.Set<WellSample> |
getWellSamples()
returns wellSamples .
|
boolean |
isLoaded()
transient field (not stored in the DB) which specifies whether this
object has been loaded from the DB or is only a wrapper around the ID.
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
java.util.Iterator<ImageAnnotationLink> |
iterateAnnotationLinks()
should be used rather than accessing the annotationLinks set directly.
|
java.util.Iterator<DatasetImageLink> |
iterateDatasetLinks()
should be used rather than accessing the datasetLinks set directly.
|
java.util.Iterator<FolderImageLink> |
iterateFolderLinks()
should be used rather than accessing the folderLinks set directly.
|
java.util.Iterator<Pixels> |
iteratePixels()
should be used rather than accessing the pixels set directly.
|
java.util.Iterator<Roi> |
iterateRois()
should be used rather than accessing the rois set directly.
|
java.util.Iterator<WellSample> |
iterateWellSamples()
should be used rather than accessing the wellSamples set directly.
|
ImageAnnotationLink |
linkAnnotation(Annotation addition)
Adds a ome.model.annotations.ImageAnnotationLink to annotationLinks .
|
DatasetImageLink |
linkDataset(Dataset addition)
Adds a ome.model.containers.DatasetImageLink to datasetLinks .
|
java.util.Iterator<Annotation> |
linkedAnnotationIterator()
provides an iterator over the parent values of the annotationLinks.
|
java.util.List<Annotation> |
linkedAnnotationList()
produces a
List -copy of the underlying collection. |
java.util.Iterator<Dataset> |
linkedDatasetIterator()
provides an iterator over the child values of the datasetLinks.
|
java.util.List<Dataset> |
linkedDatasetList()
produces a
List -copy of the underlying collection. |
java.util.Iterator<Folder> |
linkedFolderIterator()
provides an iterator over the child values of the folderLinks.
|
java.util.List<Folder> |
linkedFolderList()
produces a
List -copy of the underlying collection. |
FolderImageLink |
linkFolder(Folder addition)
Adds a ome.model.containers.FolderImageLink to folderLinks .
|
Image |
newInstance() |
Image |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removeDatasetImageLink(DatasetImageLink target)
removes a single element from this set and makes the inverse call on ome.model.containers.DatasetImageLink
|
void |
removeDatasetImageLink(DatasetImageLink link,
boolean bothSides)
removes the given DatasetImageLink from datasetLinks, allowing for recursion -- whether
or not the removal will call unlinkImage again if loaded.
|
void |
removeDatasetImageLinkSet(java.util.Collection<DatasetImageLink> targets)
use like removeDatasetImageLink
|
void |
removeFolderImageLink(FolderImageLink target)
removes a single element from this set and makes the inverse call on ome.model.containers.FolderImageLink
|
void |
removeFolderImageLink(FolderImageLink link,
boolean bothSides)
removes the given FolderImageLink from folderLinks, allowing for recursion -- whether
or not the removal will call unlinkImage again if loaded.
|
void |
removeFolderImageLinkSet(java.util.Collection<FolderImageLink> targets)
use like removeFolderImageLink
|
void |
removeImageAnnotationLink(ImageAnnotationLink target)
removes a single element from this set and makes the inverse call on ome.model.annotations.ImageAnnotationLink
|
void |
removeImageAnnotationLink(ImageAnnotationLink link,
boolean bothSides)
removes the given ImageAnnotationLink from annotationLinks, allowing for recursion -- whether
or not the removal will call unlinkImage again if loaded.
|
void |
removeImageAnnotationLinkSet(java.util.Collection<ImageAnnotationLink> targets)
use like removeImageAnnotationLink
|
void |
removePixels(Pixels target)
removes a single element from this set and makes the inverse call on ome.model.core.Pixels
|
void |
removePixelsSet(java.util.Collection<Pixels> targets)
use like removePixels
|
void |
removeRoi(Roi target)
removes a single element from this set and makes the inverse call on ome.model.roi.Roi
|
void |
removeRoiSet(java.util.Collection<Roi> targets)
use like removeRoi
|
void |
removeWellSample(WellSample target)
removes a single element from this set and makes the inverse call on ome.model.screen.WellSample
|
void |
removeWellSampleSet(java.util.Collection<WellSample> targets)
use like removeWellSample
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
void |
setAcquisitionDate(java.sql.Timestamp acquisitionDate) |
protected void |
setAnnotationLinks(java.util.Set<ImageAnnotationLink> annotationLinks)
setter for annotationLinks should be avoided.
|
protected void |
setAnnotationLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setArchived(java.lang.Boolean archived) |
protected void |
setDatasetLinks(java.util.Set<DatasetImageLink> datasetLinks)
setter for datasetLinks should be avoided.
|
protected void |
setDatasetLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setDescription(java.lang.String description) |
protected void |
setDetails(Details details) |
void |
setExperiment(Experiment experiment) |
void |
setFileset(Fileset fileset) |
protected void |
setFolderLinks(java.util.Set<FolderImageLink> folderLinks)
setter for folderLinks should be avoided.
|
protected void |
setFolderLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setFormat(Format format) |
void |
setId(java.lang.Long id)
usually unneeded.
|
void |
setImagingEnvironment(ImagingEnvironment imagingEnvironment) |
void |
setInstrument(Instrument instrument) |
void |
setName(java.lang.String name) |
void |
setObjectiveSettings(ObjectiveSettings objectiveSettings) |
void |
setPartial(java.lang.Boolean partial) |
Pixels |
setPixels(int index,
Pixels element)
Sets the ome.model.core.Pixels at the given index.
|
protected void |
setPixels(java.util.List<Pixels> pixels)
setter for pixels should be avoided.
|
Pixels |
setPrimaryPixels(Pixels element)
Swaps the first element of pixels with the first instance of the
given element.
|
protected void |
setRois(java.util.Set<Roi> rois)
setter for rois should be avoided.
|
void |
setSeries(java.lang.Integer series) |
void |
setStageLabel(StageLabel stageLabel) |
void |
setVersion(java.lang.Integer version)
use with caution.
|
protected void |
setWellSamples(java.util.Set<WellSample> wellSamples)
setter for wellSamples should be avoided.
|
int |
sizeOfAnnotationLinks()
returns the size of annotationLinks.
|
int |
sizeOfDatasetLinks()
returns the size of datasetLinks.
|
int |
sizeOfFolderLinks()
returns the size of folderLinks.
|
int |
sizeOfPixels()
returns the size of pixels.
|
int |
sizeOfRois()
returns the size of rois.
|
int |
sizeOfWellSamples()
returns the size of wellSamples.
|
protected void |
throwNullCollectionException(java.lang.String propertyName) |
java.lang.String |
toString() |
void |
unlinkAnnotation(Annotation removal)
unlinks all ome.model.annotations.Annotation instances from this instance.
|
void |
unlinkDataset(Dataset removal)
unlinks all ome.model.containers.Dataset instances from this instance.
|
void |
unlinkFolder(Folder removal)
unlinks all ome.model.containers.Folder instances from this instance.
|
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<ImageAnnotationLink> |
unmodifiableAnnotationLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<DatasetImageLink> |
unmodifiableDatasetLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<FolderImageLink> |
unmodifiableFolderLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<Pixels> |
unmodifiablePixels()
Returns an unmodifiable collection-view
|
java.util.Collection<Roi> |
unmodifiableRois()
Returns an unmodifiable collection-view
|
java.util.Collection<WellSample> |
unmodifiableWellSamples()
Returns an unmodifiable collection-view
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
public static final java.lang.String OWNER_FILTER
public static final java.lang.String GROUP_FILTER
public static final java.lang.String EVENT_FILTER
public static final java.lang.String PERMS_FILTER
public static final java.lang.String ID
protected java.lang.Long id
public static final java.lang.String VERSION
protected java.lang.Integer version
protected java.lang.Integer series
protected java.sql.Timestamp acquisitionDate
protected java.lang.Boolean archived
protected java.lang.Boolean partial
protected Format format
protected ImagingEnvironment imagingEnvironment
protected ObjectiveSettings objectiveSettings
protected Instrument instrument
protected StageLabel stageLabel
protected Experiment experiment
protected java.util.List<Pixels> pixels
public static final java.lang.String OWNER_FILTER_PIXELS
public static final java.lang.String GROUP_FILTER_PIXELS
public static final java.lang.String EVENT_FILTER_PIXELS
public static final java.lang.String PERMS_FILTER_PIXELS
protected java.util.Set<WellSample> wellSamples
public static final java.lang.String OWNER_FILTER_WELLSAMPLES
public static final java.lang.String GROUP_FILTER_WELLSAMPLES
public static final java.lang.String EVENT_FILTER_WELLSAMPLES
public static final java.lang.String PERMS_FILTER_WELLSAMPLES
protected java.util.Set<Roi> rois
public static final java.lang.String OWNER_FILTER_ROIS
public static final java.lang.String GROUP_FILTER_ROIS
public static final java.lang.String EVENT_FILTER_ROIS
public static final java.lang.String PERMS_FILTER_ROIS
protected java.util.Set<DatasetImageLink> datasetLinks
public static final java.lang.String OWNER_FILTER_DATASETLINKS
public static final java.lang.String GROUP_FILTER_DATASETLINKS
public static final java.lang.String EVENT_FILTER_DATASETLINKS
public static final java.lang.String PERMS_FILTER_DATASETLINKS
protected java.util.Set<FolderImageLink> folderLinks
public static final java.lang.String OWNER_FILTER_FOLDERLINKS
public static final java.lang.String GROUP_FILTER_FOLDERLINKS
public static final java.lang.String EVENT_FILTER_FOLDERLINKS
public static final java.lang.String PERMS_FILTER_FOLDERLINKS
protected Fileset fileset
protected java.util.Set<ImageAnnotationLink> annotationLinks
public static final java.lang.String OWNER_FILTER_ANNOTATIONLINKS
public static final java.lang.String GROUP_FILTER_ANNOTATIONLINKS
public static final java.lang.String EVENT_FILTER_ANNOTATIONLINKS
public static final java.lang.String PERMS_FILTER_ANNOTATIONLINKS
protected java.lang.String name
protected java.lang.String description
protected Details details
public static final java.lang.String SERIES
public static final java.lang.String ACQUISITIONDATE
public static final java.lang.String ARCHIVED
public static final java.lang.String PARTIAL
public static final java.lang.String FORMAT
public static final java.lang.String IMAGINGENVIRONMENT
public static final java.lang.String OBJECTIVESETTINGS
public static final java.lang.String INSTRUMENT
public static final java.lang.String STAGELABEL
public static final java.lang.String EXPERIMENT
public static final java.lang.String PIXELS
public static final java.lang.String WELLSAMPLES
public static final java.lang.String ROIS
public static final java.lang.String DATASETLINKSCOUNTPEROWNER
public static final java.lang.String DATASETLINKS
public static final java.lang.String FOLDERLINKSCOUNTPEROWNER
public static final java.lang.String FOLDERLINKS
public static final java.lang.String FILESET
public static final java.lang.String ANNOTATIONLINKSCOUNTPEROWNER
public static final java.lang.String ANNOTATIONLINKS
public static final java.lang.String NAME
public static final java.lang.String DESCRIPTION
public static final java.lang.String DETAILS
public static final java.util.Set<java.lang.String> FIELDS
protected java.util.Map<java.lang.String,java.lang.Object> _dynamicFields
protected boolean _loaded
public Image()
protected Image(java.lang.Long id)
public Image(java.lang.Long id, boolean loaded)
public Image(java.lang.String _name)
@DocumentId public java.lang.Long getId()
public void setId(java.lang.Long id)
IObject
public java.lang.Integer getVersion()
getVersion
in interface IMutable
public void setVersion(java.lang.Integer version)
IMutable
setVersion
in interface IMutable
version
- Value for this objects version.@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getSeries()
public void setSeries(java.lang.Integer series)
@DateBridge(resolution=MINUTE) @Fields(value=@Field(index=UN_TOKENIZED)) public java.sql.Timestamp getAcquisitionDate()
public void setAcquisitionDate(java.sql.Timestamp acquisitionDate)
public java.lang.Boolean getArchived()
public void setArchived(java.lang.Boolean archived)
public java.lang.Boolean getPartial()
public void setPartial(java.lang.Boolean partial)
public Format getFormat()
public void setFormat(Format format)
public ImagingEnvironment getImagingEnvironment()
public void setImagingEnvironment(ImagingEnvironment imagingEnvironment)
public ObjectiveSettings getObjectiveSettings()
public void setObjectiveSettings(ObjectiveSettings objectiveSettings)
public Instrument getInstrument()
public void setInstrument(Instrument instrument)
public StageLabel getStageLabel()
public void setStageLabel(StageLabel stageLabel)
public Experiment getExperiment()
public void setExperiment(Experiment experiment)
protected java.util.List<Pixels> getPixels()
protected void setPixels(java.util.List<Pixels> pixels)
public int sizeOfPixels()
public java.util.Iterator<Pixels> iteratePixels()
EmptyIterator
. To test for a null collection,
see of sizeOfPixels()
is less than zero.public java.util.Collection<Pixels> unmodifiablePixels()
public <E> java.util.List<E> collectPixels(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iteratePixels()
internally and so will return a value
even if the underlying collection is null.public void addPixels(Pixels target)
public void addPixelsSet(java.util.Collection<Pixels> targets)
public void removePixels(Pixels target)
public void removePixelsSet(java.util.Collection<Pixels> targets)
public void clearPixels()
public Pixels getPixels(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public Pixels setPixels(int index, Pixels element) throws java.lang.IndexOutOfBoundsException
List.set(int, Object)
contract. To extend the list, use addPixels(Pixels)
.java.lang.IndexOutOfBoundsException
List.set(int, Object)
public Pixels getPrimaryPixels() throws java.lang.IndexOutOfBoundsException
IndexOutOfBoundsException
is throws. This method
will also throw an ApiUsageException
if the collection is
unloaded. See sizeOfPixels()
for more information.java.lang.IndexOutOfBoundsException
public Pixels setPrimaryPixels(Pixels element) throws java.lang.IndexOutOfBoundsException
IndexOutOfBoundsException
will be thrown. Returns the swapped
element. This method
will also throw an ApiUsageException
if the collection is
unloaded. See sizeOfPixels()
for more information.java.lang.IndexOutOfBoundsException
protected java.util.Set<WellSample> getWellSamples()
protected void setWellSamples(java.util.Set<WellSample> wellSamples)
public int sizeOfWellSamples()
public java.util.Iterator<WellSample> iterateWellSamples()
EmptyIterator
. To test for a null collection,
see of sizeOfWellSamples()
is less than zero.public java.util.Collection<WellSample> unmodifiableWellSamples()
public <E> java.util.List<E> collectWellSamples(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateWellSamples()
internally and so will return a value
even if the underlying collection is null.public void addWellSample(WellSample target)
public void addWellSampleSet(java.util.Collection<WellSample> targets)
public void removeWellSample(WellSample target)
public void removeWellSampleSet(java.util.Collection<WellSample> targets)
public void clearWellSamples()
protected java.util.Set<Roi> getRois()
protected void setRois(java.util.Set<Roi> rois)
public int sizeOfRois()
public java.util.Iterator<Roi> iterateRois()
EmptyIterator
. To test for a null collection,
see of sizeOfRois()
is less than zero.public java.util.Collection<Roi> unmodifiableRois()
public <E> java.util.List<E> collectRois(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateRois()
internally and so will return a value
even if the underlying collection is null.public void addRoi(Roi target)
public void addRoiSet(java.util.Collection<Roi> targets)
public void removeRoi(Roi target)
public void removeRoiSet(java.util.Collection<Roi> targets)
public void clearRois()
protected java.util.Set<DatasetImageLink> getDatasetLinks()
protected void setDatasetLinks(java.util.Set<DatasetImageLink> datasetLinks)
public int sizeOfDatasetLinks()
public java.util.Iterator<DatasetImageLink> iterateDatasetLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfDatasetLinks()
is less than zero.public java.util.Collection<DatasetImageLink> unmodifiableDatasetLinks()
public <E> java.util.List<E> collectDatasetLinks(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateDatasetLinks()
internally and so will return a value
even if the underlying collection is null.public void addDatasetImageLink(DatasetImageLink target)
public void addDatasetImageLinkSet(java.util.Collection<DatasetImageLink> targets)
public void removeDatasetImageLink(DatasetImageLink target)
public void removeDatasetImageLinkSet(java.util.Collection<DatasetImageLink> targets)
public DatasetImageLink linkDataset(Dataset addition)
public void addDatasetImageLink(DatasetImageLink link, boolean bothSides)
public java.util.Iterator<Dataset> linkedDatasetIterator()
ConcurrentModificationException
.
Use linkedDatasetList()
instead.public java.util.Set<DatasetImageLink> findDatasetImageLink(Dataset target)
public java.util.List<Dataset> linkedDatasetList()
List
-copy of the underlying collection. Unlike,
linkedDatasetIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedDataset(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkDataset(Dataset removal)
public void removeDatasetImageLink(DatasetImageLink link, boolean bothSides)
public void clearDatasetLinks()
protected void setDatasetLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getDatasetLinksCountPerOwner()
protected java.util.Set<FolderImageLink> getFolderLinks()
protected void setFolderLinks(java.util.Set<FolderImageLink> folderLinks)
public int sizeOfFolderLinks()
public java.util.Iterator<FolderImageLink> iterateFolderLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfFolderLinks()
is less than zero.public java.util.Collection<FolderImageLink> unmodifiableFolderLinks()
public <E> java.util.List<E> collectFolderLinks(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateFolderLinks()
internally and so will return a value
even if the underlying collection is null.public void addFolderImageLink(FolderImageLink target)
public void addFolderImageLinkSet(java.util.Collection<FolderImageLink> targets)
public void removeFolderImageLink(FolderImageLink target)
public void removeFolderImageLinkSet(java.util.Collection<FolderImageLink> targets)
public FolderImageLink linkFolder(Folder addition)
public void addFolderImageLink(FolderImageLink link, boolean bothSides)
public java.util.Iterator<Folder> linkedFolderIterator()
ConcurrentModificationException
.
Use linkedFolderList()
instead.public java.util.Set<FolderImageLink> findFolderImageLink(Folder target)
public java.util.List<Folder> linkedFolderList()
List
-copy of the underlying collection. Unlike,
linkedFolderIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedFolder(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkFolder(Folder removal)
public void removeFolderImageLink(FolderImageLink link, boolean bothSides)
public void clearFolderLinks()
protected void setFolderLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getFolderLinksCountPerOwner()
public Fileset getFileset()
public void setFileset(Fileset fileset)
protected java.util.Set<ImageAnnotationLink> getAnnotationLinks()
protected void setAnnotationLinks(java.util.Set<ImageAnnotationLink> annotationLinks)
public int sizeOfAnnotationLinks()
sizeOfAnnotationLinks
in interface IAnnotated
public java.util.Iterator<ImageAnnotationLink> iterateAnnotationLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfAnnotationLinks()
is less than zero.iterateAnnotationLinks
in interface IAnnotated
public java.util.Collection<ImageAnnotationLink> unmodifiableAnnotationLinks()
unmodifiableAnnotationLinks
in interface IAnnotated
public <E> java.util.List<E> collectAnnotationLinks(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateAnnotationLinks()
internally and so will return a value
even if the underlying collection is null.collectAnnotationLinks
in interface IAnnotated
public void addImageAnnotationLink(ImageAnnotationLink target)
public void addImageAnnotationLinkSet(java.util.Collection<ImageAnnotationLink> targets)
public void removeImageAnnotationLink(ImageAnnotationLink target)
public void removeImageAnnotationLinkSet(java.util.Collection<ImageAnnotationLink> targets)
public ImageAnnotationLink linkAnnotation(Annotation addition)
linkAnnotation
in interface IAnnotated
public void addImageAnnotationLink(ImageAnnotationLink link, boolean bothSides)
public java.util.Iterator<Annotation> linkedAnnotationIterator()
ConcurrentModificationException
.
Use linkedAnnotationList()
instead.linkedAnnotationIterator
in interface IAnnotated
public java.util.Set<ImageAnnotationLink> findImageAnnotationLink(Annotation target)
public java.util.List<Annotation> linkedAnnotationList()
List
-copy of the underlying collection. Unlike,
linkedAnnotationIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.linkedAnnotationList
in interface IAnnotated
public <E> java.util.List<E> eachLinkedAnnotation(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.eachLinkedAnnotation
in interface IAnnotated
public void unlinkAnnotation(Annotation removal)
unlinkAnnotation
in interface IAnnotated
public void removeImageAnnotationLink(ImageAnnotationLink link, boolean bothSides)
public void clearAnnotationLinks()
clearAnnotationLinks
in interface IAnnotated
protected void setAnnotationLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getAnnotationLinksCountPerOwner()
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getName()
public void setName(java.lang.String name)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public Details getDetails()
Details
type.getDetails
in interface IObject
protected void setDetails(Details details)
public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public Image newInstance()
public Image proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Set<java.lang.String> fields()
IObject
public java.lang.Object retrieve(java.lang.String field)
IObject
field
which match a field of this instance will be delegated to the accessors.
Otherwise, values will be retrieved from a lazy-loaded map filled by
calls to IObject.putAt(String, Object)
public void putAt(java.lang.String field, java.lang.Object value)
IObject
field
which
match a field of this instance will be delegated to the accessors.
Otherwise, values will be stored in a lazy-loaded map.public boolean isLoaded()
IObject
protected void errorIfUnloaded()
public void unload()
IObject
public final GraphHolder getGraphHolder()
IObject
GraphHolder
for this entity. If the GraphHolder has
not been actively set, a new one will be instatiated.getGraphHolder
in interface IObject
protected void throwNullCollectionException(java.lang.String propertyName)