public interface IObjectContainerStore
Modifier and Type | Method and Description |
---|---|
void |
addReference(LSID source,
LSID target)
Adds a reference to the reference cache.
|
int |
countCachedContainers(java.lang.Class<? extends omero.model.IObject> klass,
int... indexes)
Counts the number of containers the MetadataStore has of a given class
and at a given index of the hierarchy if specified.
|
int |
countCachedReferences(java.lang.Class<? extends omero.model.IObject> source,
java.lang.Class<? extends omero.model.IObject> target)
Counts the number of references the MetadataStore has between objects
of two classes.
|
java.util.Map<java.lang.Class<? extends omero.model.IObject>,java.util.Map<java.lang.String,omero.metadatastore.IObjectContainer>> |
getAuthoritativeContainerCache()
Returns the current authoritative LSID container cache.
|
java.util.Map<LSID,omero.metadatastore.IObjectContainer> |
getContainerCache()
Returns the current container cache.
|
omero.metadatastore.IObjectContainer |
getIObjectContainer(java.lang.Class<? extends omero.model.IObject> klass,
java.util.LinkedHashMap<Index,java.lang.Integer> indexes)
Retrieves an IObject container for a given class and location within the
OME-XML data model.
|
java.util.List<omero.metadatastore.IObjectContainer> |
getIObjectContainers(java.lang.Class<? extends omero.model.IObject> klass)
Retrieves all IObject containers of a given class.
|
IFormatReader |
getReader()
Returns the current Bio-Formats reader that has been used to populate
the container store.
|
java.util.Map<LSID,java.util.List<LSID>> |
getReferenceCache()
Returns the current reference cache.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getReferenceStringCache()
Returns the current string based reference cache.
|
omero.model.IObject |
getSourceObject(LSID LSID)
Retrieves an OMERO Blitz source object for a given LSID.
|
<T extends omero.model.IObject> |
getSourceObjects(java.lang.Class<T> klass)
Retrieves all OMERO Blitz source objects of a given class.
|
java.util.List<omero.model.Annotation> |
getUserSpecifiedAnnotations()
Returns the user specified annotations.
|
java.lang.String |
getUserSpecifiedDescription()
Returns the user specified image/plate description.
|
java.lang.String |
getUserSpecifiedName()
Returns the user specified image/plate name.
|
java.lang.Double[] |
getUserSpecifiedPhysicalPixelSizes()
Returns the user specified physical pixel sizes.
|
omero.model.IObject |
getUserSpecifiedTarget()
Returns the user-specified linkage target (usually a Dataset for Images)
and a Screen for Plates).
|
boolean |
hasReference(LSID source,
LSID target)
Checks to see if there is currently an active reference for two LSIDs.
|
void |
removeIObjectContainer(LSID lsid)
Removes an IObject container from within the OME-XML data model store.
|
void |
setReader(IFormatReader reader)
Sets the Bio-Formats reader that will be used to populate the container
store.
|
void |
setReferenceStringCache(java.util.Map<java.lang.String,java.lang.String[]> referenceStringCache)
Sets the string based reference cache for this container store.
|
void |
setUserSpecifiedAnnotations(java.util.List<omero.model.Annotation> annotations)
Sets the user specified image annotations.
|
void |
setUserSpecifiedDescription(java.lang.String description)
Sets the user specified image/plate description.
|
void |
setUserSpecifiedName(java.lang.String name)
Sets the user specified image/plate name.
|
void |
setUserSpecifiedPhysicalPixelSizes(java.lang.Double physicalSizeX,
java.lang.Double physicalSizeY,
java.lang.Double physicalSizeZ)
Sets the user specified physical pixel sizes.
|
void |
setUserSpecifiedTarget(omero.model.IObject target)
Sets the user-specified linkage target (usually a Dataset for Images)
and a Screen for Plates).
|
IFormatReader getReader()
void setReader(IFormatReader reader)
reader
- Bio-Formats reader.java.util.List<omero.model.Annotation> getUserSpecifiedAnnotations()
void setUserSpecifiedAnnotations(java.util.List<omero.model.Annotation> annotations)
annotations
- user specified annotationsjava.lang.String getUserSpecifiedName()
void setUserSpecifiedName(java.lang.String name)
name
- user specified image/plate namejava.lang.String getUserSpecifiedDescription()
void setUserSpecifiedDescription(java.lang.String description)
description
- user-specified image/plate descriptionomero.model.IObject getUserSpecifiedTarget()
void setUserSpecifiedTarget(omero.model.IObject target)
target
- user-specified linkage targetjava.lang.Double[] getUserSpecifiedPhysicalPixelSizes()
null
for any one index states the user has not made a choice for the size
of that particular dimension.void setUserSpecifiedPhysicalPixelSizes(java.lang.Double physicalSizeX, java.lang.Double physicalSizeY, java.lang.Double physicalSizeZ)
null
states the original file physical size for that
dimension should be used.physicalSizeX
- Physical pixel size width.physicalSizeY
- Physical pixel height.physicalSizeZ
- Physical pixel depth.java.util.Map<java.lang.Class<? extends omero.model.IObject>,java.util.Map<java.lang.String,omero.metadatastore.IObjectContainer>> getAuthoritativeContainerCache()
java.util.Map<LSID,omero.metadatastore.IObjectContainer> getContainerCache()
java.util.Map<LSID,java.util.List<LSID>> getReferenceCache()
void addReference(LSID source, LSID target)
source
- Source LSID to add.target
- Target LSID to add.java.util.Map<java.lang.String,java.lang.String[]> getReferenceStringCache()
void setReferenceStringCache(java.util.Map<java.lang.String,java.lang.String[]> referenceStringCache)
referenceStringCache
- String based reference cache to use.omero.model.IObject getSourceObject(LSID LSID)
LSID
- LSID to retrieve a source object for.<T extends omero.model.IObject> java.util.List<T> getSourceObjects(java.lang.Class<T> klass)
klass
- Class to retrieve source objects for.omero.metadatastore.IObjectContainer getIObjectContainer(java.lang.Class<? extends omero.model.IObject> klass, java.util.LinkedHashMap<Index,java.lang.Integer> indexes)
klass
- Class to retrieve a container for.indexes
- Indexes into the OME-XML data model.void removeIObjectContainer(LSID lsid)
lsid
- LSID of the container to remove.java.util.List<omero.metadatastore.IObjectContainer> getIObjectContainers(java.lang.Class<? extends omero.model.IObject> klass)
klass
- Class to retrieve containers for.int countCachedContainers(java.lang.Class<? extends omero.model.IObject> klass, int... indexes)
klass
- Class to count containers of.indexes
- Indexes to use in the container count. For example, if
klass
is Image
and indexes is
int[] { 0 };
only containers that have an LSID of type
Image
and a first index of 0
will be counted.int countCachedReferences(java.lang.Class<? extends omero.model.IObject> source, java.lang.Class<? extends omero.model.IObject> target)
source
- Class of the source object. If null
it is
treated as a wild card, all references whose target match
target
will be counted.target
- Class of the target object. If null
it is
treated as a wild card, all references whose source match
source
will be counted.
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.