@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Pixels extends java.lang.Object implements java.io.Serializable, IObject, IMutable
Modifier and Type | Class and Description |
---|---|
static class |
Pixels.Details |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
_dynamicFields |
protected boolean |
_loaded |
protected java.util.List<Channel> |
channels |
static java.lang.String |
CHANNELS |
protected Details |
details |
static java.lang.String |
DETAILS |
protected DimensionOrder |
dimensionOrder |
static java.lang.String |
DIMENSIONORDER |
static java.lang.String |
EVENT_FILTER |
static java.lang.String |
EVENT_FILTER_CHANNELS |
static java.lang.String |
EVENT_FILTER_PIXELSFILEMAPS |
static java.lang.String |
EVENT_FILTER_PLANEINFO |
static java.lang.String |
EVENT_FILTER_SETTINGS |
static java.lang.String |
EVENT_FILTER_THUMBNAILS |
static java.util.Set<java.lang.String> |
FIELDS |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
GROUP_FILTER_CHANNELS |
static java.lang.String |
GROUP_FILTER_PIXELSFILEMAPS |
static java.lang.String |
GROUP_FILTER_PLANEINFO |
static java.lang.String |
GROUP_FILTER_SETTINGS |
static java.lang.String |
GROUP_FILTER_THUMBNAILS |
protected java.lang.Long |
id |
static java.lang.String |
ID |
protected Image |
image |
static java.lang.String |
IMAGE |
protected java.lang.String |
methodology |
static java.lang.String |
METHODOLOGY |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
OWNER_FILTER_CHANNELS |
static java.lang.String |
OWNER_FILTER_PIXELSFILEMAPS |
static java.lang.String |
OWNER_FILTER_PLANEINFO |
static java.lang.String |
OWNER_FILTER_SETTINGS |
static java.lang.String |
OWNER_FILTER_THUMBNAILS |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_CHANNELS |
static java.lang.String |
PERMS_FILTER_PIXELSFILEMAPS |
static java.lang.String |
PERMS_FILTER_PLANEINFO |
static java.lang.String |
PERMS_FILTER_SETTINGS |
static java.lang.String |
PERMS_FILTER_THUMBNAILS |
protected Length |
physicalSizeX |
static java.lang.String |
PHYSICALSIZEX |
protected Length |
physicalSizeY |
static java.lang.String |
PHYSICALSIZEY |
protected Length |
physicalSizeZ |
static java.lang.String |
PHYSICALSIZEZ |
protected java.util.Set<PixelsOriginalFileMap> |
pixelsFileMaps |
static java.lang.String |
PIXELSFILEMAPS |
static java.lang.String |
PIXELSFILEMAPSCOUNTPEROWNER |
protected PixelsType |
pixelsType |
static java.lang.String |
PIXELSTYPE |
protected java.util.Set<PlaneInfo> |
planeInfo |
static java.lang.String |
PLANEINFO |
protected Pixels |
relatedTo |
static java.lang.String |
RELATEDTO |
protected java.util.Set<RenderingDef> |
settings |
static java.lang.String |
SETTINGS |
protected java.lang.String |
sha1 |
static java.lang.String |
SHA1 |
protected java.lang.Integer |
significantBits |
static java.lang.String |
SIGNIFICANTBITS |
protected java.lang.Integer |
sizeC |
static java.lang.String |
SIZEC |
protected java.lang.Integer |
sizeT |
static java.lang.String |
SIZET |
protected java.lang.Integer |
sizeX |
static java.lang.String |
SIZEX |
protected java.lang.Integer |
sizeY |
static java.lang.String |
SIZEY |
protected java.lang.Integer |
sizeZ |
static java.lang.String |
SIZEZ |
protected java.util.Set<Thumbnail> |
thumbnails |
static java.lang.String |
THUMBNAILS |
protected Time |
timeIncrement |
static java.lang.String |
TIMEINCREMENT |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
protected java.lang.Integer |
waveIncrement |
static java.lang.String |
WAVEINCREMENT |
protected java.lang.Integer |
waveStart |
static java.lang.String |
WAVESTART |
Modifier | Constructor and Description |
---|---|
|
Pixels() |
|
Pixels(Image _image,
PixelsType _pixelsType,
java.lang.Integer _sizeX,
java.lang.Integer _sizeY,
java.lang.Integer _sizeZ,
java.lang.Integer _sizeC,
java.lang.Integer _sizeT,
java.lang.String _sha1,
DimensionOrder _dimensionOrder) |
protected |
Pixels(java.lang.Long id) |
|
Pixels(java.lang.Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addChannel(Channel target)
use instead of setChannels .
|
void |
addChannelSet(java.util.Collection<Channel> targets)
use like addChannel.
|
void |
addPixelsOriginalFileMap(PixelsOriginalFileMap target)
use instead of setPixelsFileMaps .
|
void |
addPixelsOriginalFileMap(PixelsOriginalFileMap link,
boolean bothSides)
Adds a ome.model.core.PixelsOriginalFileMap to pixelsFileMaps, allowing for recursion -- whether
or not addPixelsOriginalFileMap will be called on the addition if it is loaded
|
void |
addPixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
use like addPixelsOriginalFileMap.
|
void |
addPlaneInfo(PlaneInfo target)
use instead of setPlaneInfo .
|
void |
addPlaneInfoSet(java.util.Collection<PlaneInfo> targets)
use like addPlaneInfo.
|
void |
addRenderingDef(RenderingDef target)
use instead of setSettings .
|
void |
addRenderingDefSet(java.util.Collection<RenderingDef> targets)
use like addRenderingDef.
|
void |
addThumbnail(Thumbnail target)
use instead of setThumbnails .
|
void |
addThumbnailSet(java.util.Collection<Thumbnail> targets)
use like addThumbnail.
|
void |
clearChannels()
clears the set.
|
void |
clearOriginalFileLinks()
clears the set.
|
void |
clearPlaneInfo()
clears the set.
|
void |
clearSettings()
clears the set.
|
void |
clearThumbnails()
clears the set.
|
<E> java.util.List<E> |
collectChannels(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.Channel while
collecting the results.
|
<E> java.util.List<E> |
collectPixelsFileMaps(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.PixelsOriginalFileMap while
collecting the results.
|
<E> java.util.List<E> |
collectPlaneInfo(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.PlaneInfo while
collecting the results.
|
<E> java.util.List<E> |
collectSettings(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.display.RenderingDef while
collecting the results.
|
<E> java.util.List<E> |
collectThumbnails(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.display.Thumbnail while
collecting the results.
|
<E> java.util.List<E> |
eachLinkedOriginalFile(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.OriginalFile 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<PixelsOriginalFileMap> |
findPixelsOriginalFileMap(OriginalFile target)
find all ome.model.core.PixelsOriginalFileMap which have the argument as their parent.
|
Channel |
getChannel(int index)
Gets the ome.model.core.Channel at the given index.
|
protected java.util.List<Channel> |
getChannels()
returns channels .
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
DimensionOrder |
getDimensionOrder()
Many-to-one field ome.model.core.Pixels.dimensionOrder (ome.model.enums.DimensionOrder)
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
java.lang.Long |
getId()
The DB unique identifier for this object.
|
Image |
getImage()
Many-to-one field ome.model.core.Pixels.image (ome.model.core.Image)
|
java.lang.String |
getMethodology()
Simple field ome.model.core.Pixels.methodology (java.lang.String)
|
Length |
getPhysicalSizeX()
Enum-mapped unit-based field ome.model.core.Pixels.physicalSizeX (ome.model.units.Length)
|
Length |
getPhysicalSizeY()
Enum-mapped unit-based field ome.model.core.Pixels.physicalSizeY (ome.model.units.Length)
|
Length |
getPhysicalSizeZ()
Enum-mapped unit-based field ome.model.core.Pixels.physicalSizeZ (ome.model.units.Length)
|
protected java.util.Set<PixelsOriginalFileMap> |
getPixelsFileMaps()
returns pixelsFileMaps .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getPixelsFileMapsCountPerOwner()
If fetched, returns the count(*) of ome.model.core.PixelsOriginalFileMap that a user has.
|
PixelsType |
getPixelsType()
Many-to-one field ome.model.core.Pixels.pixelsType (ome.model.enums.PixelsType)
|
protected java.util.Set<PlaneInfo> |
getPlaneInfo()
returns planeInfo .
|
Channel |
getPrimaryChannel()
Gets the first element of channels which can be interpreted as the
primary or default element in some situations.
|
Pixels |
getRelatedTo()
Many-to-one field ome.model.core.Pixels.relatedTo (ome.model.core.Pixels)
|
protected java.util.Set<RenderingDef> |
getSettings()
returns settings .
|
java.lang.String |
getSha1()
Simple field ome.model.core.Pixels.sha1 (java.lang.String)
|
java.lang.Integer |
getSignificantBits()
Simple field ome.model.core.Pixels.significantBits (java.lang.Integer)
|
java.lang.Integer |
getSizeC()
Simple field ome.model.core.Pixels.sizeC (java.lang.Integer)
|
java.lang.Integer |
getSizeT()
Simple field ome.model.core.Pixels.sizeT (java.lang.Integer)
|
java.lang.Integer |
getSizeX()
Simple field ome.model.core.Pixels.sizeX (java.lang.Integer)
|
java.lang.Integer |
getSizeY()
Simple field ome.model.core.Pixels.sizeY (java.lang.Integer)
|
java.lang.Integer |
getSizeZ()
Simple field ome.model.core.Pixels.sizeZ (java.lang.Integer)
|
protected java.util.Set<Thumbnail> |
getThumbnails()
returns thumbnails .
|
Time |
getTimeIncrement()
Enum-mapped unit-based field ome.model.core.Pixels.timeIncrement (ome.model.units.Time)
|
java.lang.Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
java.lang.Integer |
getWaveIncrement()
Simple field ome.model.core.Pixels.waveIncrement (java.lang.Integer)
|
java.lang.Integer |
getWaveStart()
Simple field ome.model.core.Pixels.waveStart (java.lang.Integer)
|
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<Channel> |
iterateChannels()
should be used rather than accessing the channels set directly.
|
java.util.Iterator<PixelsOriginalFileMap> |
iteratePixelsFileMaps()
should be used rather than accessing the pixelsFileMaps set directly.
|
java.util.Iterator<PlaneInfo> |
iteratePlaneInfo()
should be used rather than accessing the planeInfo set directly.
|
java.util.Iterator<RenderingDef> |
iterateSettings()
should be used rather than accessing the settings set directly.
|
java.util.Iterator<Thumbnail> |
iterateThumbnails()
should be used rather than accessing the thumbnails set directly.
|
java.util.Iterator<OriginalFile> |
linkedOriginalFileIterator()
provides an iterator over the child values of the pixelsFileMaps.
|
java.util.List<OriginalFile> |
linkedOriginalFileList()
produces a
List -copy of the underlying collection. |
PixelsOriginalFileMap |
linkOriginalFile(OriginalFile addition)
Adds a ome.model.core.PixelsOriginalFileMap to pixelsFileMaps .
|
Pixels |
newInstance() |
Pixels |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removeChannel(Channel target)
removes a single element from this set and makes the inverse call on ome.model.core.Channel
|
void |
removeChannelSet(java.util.Collection<Channel> targets)
use like removeChannel
|
void |
removePixelsOriginalFileMap(PixelsOriginalFileMap target)
removes a single element from this set and makes the inverse call on ome.model.core.PixelsOriginalFileMap
|
void |
removePixelsOriginalFileMap(PixelsOriginalFileMap link,
boolean bothSides)
removes the given PixelsOriginalFileMap from pixelsFileMaps, allowing for recursion -- whether
or not the removal will call unlinkPixels again if loaded.
|
void |
removePixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
use like removePixelsOriginalFileMap
|
void |
removePlaneInfo(PlaneInfo target)
removes a single element from this set and makes the inverse call on ome.model.core.PlaneInfo
|
void |
removePlaneInfoSet(java.util.Collection<PlaneInfo> targets)
use like removePlaneInfo
|
void |
removeRenderingDef(RenderingDef target)
removes a single element from this set and makes the inverse call on ome.model.display.RenderingDef
|
void |
removeRenderingDefSet(java.util.Collection<RenderingDef> targets)
use like removeRenderingDef
|
void |
removeThumbnail(Thumbnail target)
removes a single element from this set and makes the inverse call on ome.model.display.Thumbnail
|
void |
removeThumbnailSet(java.util.Collection<Thumbnail> targets)
use like removeThumbnail
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
Channel |
setChannel(int index,
Channel element)
Sets the ome.model.core.Channel at the given index.
|
protected void |
setChannels(java.util.List<Channel> channels)
setter for channels should be avoided.
|
protected void |
setDetails(Details details)
Use the
Details.copy(ome.model.internal.Details)
or Details.shallowCopy(ome.model.internal.Details)
methods to set the Pixels.Details instance instead. |
void |
setDimensionOrder(DimensionOrder dimensionOrder) |
void |
setId(java.lang.Long id)
usually unneeded.
|
void |
setImage(Image image) |
void |
setMethodology(java.lang.String methodology) |
void |
setPhysicalSizeX(Length physicalSizeX) |
void |
setPhysicalSizeY(Length physicalSizeY) |
void |
setPhysicalSizeZ(Length physicalSizeZ) |
protected void |
setPixelsFileMaps(java.util.Set<PixelsOriginalFileMap> pixelsFileMaps)
setter for pixelsFileMaps should be avoided.
|
protected void |
setPixelsFileMapsCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setPixelsType(PixelsType pixelsType) |
protected void |
setPlaneInfo(java.util.Set<PlaneInfo> planeInfo)
setter for planeInfo should be avoided.
|
Channel |
setPrimaryChannel(Channel element)
Swaps the first element of channels with the first instance of the
given element.
|
void |
setRelatedTo(Pixels relatedTo) |
protected void |
setSettings(java.util.Set<RenderingDef> settings)
setter for settings should be avoided.
|
void |
setSha1(java.lang.String sha1) |
void |
setSignificantBits(java.lang.Integer significantBits) |
void |
setSizeC(java.lang.Integer sizeC) |
void |
setSizeT(java.lang.Integer sizeT) |
void |
setSizeX(java.lang.Integer sizeX) |
void |
setSizeY(java.lang.Integer sizeY) |
void |
setSizeZ(java.lang.Integer sizeZ) |
protected void |
setThumbnails(java.util.Set<Thumbnail> thumbnails)
setter for thumbnails should be avoided.
|
void |
setTimeIncrement(Time timeIncrement) |
void |
setVersion(java.lang.Integer version)
use with caution.
|
void |
setWaveIncrement(java.lang.Integer waveIncrement) |
void |
setWaveStart(java.lang.Integer waveStart) |
int |
sizeOfChannels()
returns the size of channels.
|
int |
sizeOfPixelsFileMaps()
returns the size of pixelsFileMaps.
|
int |
sizeOfPlaneInfo()
returns the size of planeInfo.
|
int |
sizeOfSettings()
returns the size of settings.
|
int |
sizeOfThumbnails()
returns the size of thumbnails.
|
protected void |
throwNullCollectionException(java.lang.String propertyName) |
java.lang.String |
toString() |
void |
unlinkOriginalFile(OriginalFile removal)
unlinks all ome.model.core.OriginalFile instances from this instance.
|
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<Channel> |
unmodifiableChannels()
Returns an unmodifiable collection-view
|
java.util.Collection<PixelsOriginalFileMap> |
unmodifiablePixelsFileMaps()
Returns an unmodifiable collection-view
|
java.util.Collection<PlaneInfo> |
unmodifiablePlaneInfo()
Returns an unmodifiable collection-view
|
java.util.Collection<RenderingDef> |
unmodifiableSettings()
Returns an unmodifiable collection-view
|
java.util.Collection<Thumbnail> |
unmodifiableThumbnails()
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 Image image
protected Pixels relatedTo
protected PixelsType pixelsType
protected java.lang.Integer significantBits
protected java.lang.Integer sizeX
protected java.lang.Integer sizeY
protected java.lang.Integer sizeZ
protected java.lang.Integer sizeC
protected java.lang.Integer sizeT
protected java.lang.String sha1
protected DimensionOrder dimensionOrder
protected Length physicalSizeX
protected Length physicalSizeY
protected Length physicalSizeZ
protected java.lang.Integer waveStart
protected java.lang.Integer waveIncrement
protected Time timeIncrement
protected java.lang.String methodology
protected java.util.Set<PlaneInfo> planeInfo
public static final java.lang.String OWNER_FILTER_PLANEINFO
public static final java.lang.String GROUP_FILTER_PLANEINFO
public static final java.lang.String EVENT_FILTER_PLANEINFO
public static final java.lang.String PERMS_FILTER_PLANEINFO
protected java.util.Set<PixelsOriginalFileMap> pixelsFileMaps
public static final java.lang.String OWNER_FILTER_PIXELSFILEMAPS
public static final java.lang.String GROUP_FILTER_PIXELSFILEMAPS
public static final java.lang.String EVENT_FILTER_PIXELSFILEMAPS
public static final java.lang.String PERMS_FILTER_PIXELSFILEMAPS
protected java.util.List<Channel> channels
public static final java.lang.String OWNER_FILTER_CHANNELS
public static final java.lang.String GROUP_FILTER_CHANNELS
public static final java.lang.String EVENT_FILTER_CHANNELS
public static final java.lang.String PERMS_FILTER_CHANNELS
protected java.util.Set<RenderingDef> settings
public static final java.lang.String OWNER_FILTER_SETTINGS
public static final java.lang.String GROUP_FILTER_SETTINGS
public static final java.lang.String EVENT_FILTER_SETTINGS
public static final java.lang.String PERMS_FILTER_SETTINGS
protected java.util.Set<Thumbnail> thumbnails
public static final java.lang.String OWNER_FILTER_THUMBNAILS
public static final java.lang.String GROUP_FILTER_THUMBNAILS
public static final java.lang.String EVENT_FILTER_THUMBNAILS
public static final java.lang.String PERMS_FILTER_THUMBNAILS
protected Details details
public static final java.lang.String IMAGE
public static final java.lang.String RELATEDTO
public static final java.lang.String PIXELSTYPE
public static final java.lang.String SIGNIFICANTBITS
public static final java.lang.String SIZEX
public static final java.lang.String SIZEY
public static final java.lang.String SIZEZ
public static final java.lang.String SIZEC
public static final java.lang.String SIZET
public static final java.lang.String SHA1
public static final java.lang.String DIMENSIONORDER
public static final java.lang.String PHYSICALSIZEX
public static final java.lang.String PHYSICALSIZEY
public static final java.lang.String PHYSICALSIZEZ
public static final java.lang.String WAVESTART
public static final java.lang.String WAVEINCREMENT
public static final java.lang.String TIMEINCREMENT
public static final java.lang.String METHODOLOGY
public static final java.lang.String PLANEINFO
public static final java.lang.String PIXELSFILEMAPSCOUNTPEROWNER
public static final java.lang.String PIXELSFILEMAPS
public static final java.lang.String CHANNELS
public static final java.lang.String SETTINGS
public static final java.lang.String THUMBNAILS
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 Pixels()
protected Pixels(java.lang.Long id)
public Pixels(java.lang.Long id, boolean loaded)
public Pixels(Image _image, PixelsType _pixelsType, java.lang.Integer _sizeX, java.lang.Integer _sizeY, java.lang.Integer _sizeZ, java.lang.Integer _sizeC, java.lang.Integer _sizeT, java.lang.String _sha1, DimensionOrder _dimensionOrder)
@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.public Image getImage()
public void setImage(Image image)
public Pixels getRelatedTo()
public void setRelatedTo(Pixels relatedTo)
public PixelsType getPixelsType()
public void setPixelsType(PixelsType pixelsType)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getSignificantBits()
public void setSignificantBits(java.lang.Integer significantBits)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getSizeX()
public void setSizeX(java.lang.Integer sizeX)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getSizeY()
public void setSizeY(java.lang.Integer sizeY)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getSizeZ()
public void setSizeZ(java.lang.Integer sizeZ)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getSizeC()
public void setSizeC(java.lang.Integer sizeC)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getSizeT()
public void setSizeT(java.lang.Integer sizeT)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public java.lang.String getSha1()
public void setSha1(java.lang.String sha1)
public DimensionOrder getDimensionOrder()
public void setDimensionOrder(DimensionOrder dimensionOrder)
public Length getPhysicalSizeX()
public void setPhysicalSizeX(Length physicalSizeX)
public Length getPhysicalSizeY()
public void setPhysicalSizeY(Length physicalSizeY)
public Length getPhysicalSizeZ()
public void setPhysicalSizeZ(Length physicalSizeZ)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getWaveStart()
public void setWaveStart(java.lang.Integer waveStart)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getWaveIncrement()
public void setWaveIncrement(java.lang.Integer waveIncrement)
public Time getTimeIncrement()
public void setTimeIncrement(Time timeIncrement)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,name="combined_fields") public java.lang.String getMethodology()
public void setMethodology(java.lang.String methodology)
protected java.util.Set<PlaneInfo> getPlaneInfo()
protected void setPlaneInfo(java.util.Set<PlaneInfo> planeInfo)
public int sizeOfPlaneInfo()
public java.util.Iterator<PlaneInfo> iteratePlaneInfo()
EmptyIterator
. To test for a null collection,
see of sizeOfPlaneInfo()
is less than zero.public java.util.Collection<PlaneInfo> unmodifiablePlaneInfo()
public <E> java.util.List<E> collectPlaneInfo(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iteratePlaneInfo()
internally and so will return a value
even if the underlying collection is null.public void addPlaneInfo(PlaneInfo target)
public void addPlaneInfoSet(java.util.Collection<PlaneInfo> targets)
public void removePlaneInfo(PlaneInfo target)
public void removePlaneInfoSet(java.util.Collection<PlaneInfo> targets)
public void clearPlaneInfo()
protected java.util.Set<PixelsOriginalFileMap> getPixelsFileMaps()
protected void setPixelsFileMaps(java.util.Set<PixelsOriginalFileMap> pixelsFileMaps)
public int sizeOfPixelsFileMaps()
public java.util.Iterator<PixelsOriginalFileMap> iteratePixelsFileMaps()
EmptyIterator
. To test for a null collection,
see of sizeOfPixelsFileMaps()
is less than zero.public java.util.Collection<PixelsOriginalFileMap> unmodifiablePixelsFileMaps()
public <E> java.util.List<E> collectPixelsFileMaps(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iteratePixelsFileMaps()
internally and so will return a value
even if the underlying collection is null.public void addPixelsOriginalFileMap(PixelsOriginalFileMap target)
public void addPixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
public void removePixelsOriginalFileMap(PixelsOriginalFileMap target)
public void removePixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
public PixelsOriginalFileMap linkOriginalFile(OriginalFile addition)
public void addPixelsOriginalFileMap(PixelsOriginalFileMap link, boolean bothSides)
public java.util.Iterator<OriginalFile> linkedOriginalFileIterator()
ConcurrentModificationException
.
Use linkedOriginalFileList()
instead.public java.util.Set<PixelsOriginalFileMap> findPixelsOriginalFileMap(OriginalFile target)
public java.util.List<OriginalFile> linkedOriginalFileList()
List
-copy of the underlying collection. Unlike,
linkedOriginalFileIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedOriginalFile(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkOriginalFile(OriginalFile removal)
public void removePixelsOriginalFileMap(PixelsOriginalFileMap link, boolean bothSides)
public void clearOriginalFileLinks()
protected void setPixelsFileMapsCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getPixelsFileMapsCountPerOwner()
protected java.util.List<Channel> getChannels()
protected void setChannels(java.util.List<Channel> channels)
public int sizeOfChannels()
public java.util.Iterator<Channel> iterateChannels()
EmptyIterator
. To test for a null collection,
see of sizeOfChannels()
is less than zero.public java.util.Collection<Channel> unmodifiableChannels()
public <E> java.util.List<E> collectChannels(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateChannels()
internally and so will return a value
even if the underlying collection is null.public void addChannel(Channel target)
public void addChannelSet(java.util.Collection<Channel> targets)
public void removeChannel(Channel target)
public void removeChannelSet(java.util.Collection<Channel> targets)
public void clearChannels()
public Channel getChannel(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public Channel setChannel(int index, Channel element) throws java.lang.IndexOutOfBoundsException
List.set(int, Object)
contract. To extend the list, use addChannel(Channel)
.java.lang.IndexOutOfBoundsException
List.set(int, Object)
public Channel getPrimaryChannel() throws java.lang.IndexOutOfBoundsException
IndexOutOfBoundsException
is throws. This method
will also throw an ApiUsageException
if the collection is
unloaded. See sizeOfChannels()
for more information.java.lang.IndexOutOfBoundsException
public Channel setPrimaryChannel(Channel 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 sizeOfChannels()
for more information.java.lang.IndexOutOfBoundsException
protected java.util.Set<RenderingDef> getSettings()
protected void setSettings(java.util.Set<RenderingDef> settings)
public int sizeOfSettings()
public java.util.Iterator<RenderingDef> iterateSettings()
EmptyIterator
. To test for a null collection,
see of sizeOfSettings()
is less than zero.public java.util.Collection<RenderingDef> unmodifiableSettings()
public <E> java.util.List<E> collectSettings(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateSettings()
internally and so will return a value
even if the underlying collection is null.public void addRenderingDef(RenderingDef target)
public void addRenderingDefSet(java.util.Collection<RenderingDef> targets)
public void removeRenderingDef(RenderingDef target)
public void removeRenderingDefSet(java.util.Collection<RenderingDef> targets)
public void clearSettings()
protected java.util.Set<Thumbnail> getThumbnails()
protected void setThumbnails(java.util.Set<Thumbnail> thumbnails)
public int sizeOfThumbnails()
public java.util.Iterator<Thumbnail> iterateThumbnails()
EmptyIterator
. To test for a null collection,
see of sizeOfThumbnails()
is less than zero.public java.util.Collection<Thumbnail> unmodifiableThumbnails()
public <E> java.util.List<E> collectThumbnails(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateThumbnails()
internally and so will return a value
even if the underlying collection is null.public void addThumbnail(Thumbnail target)
public void addThumbnailSet(java.util.Collection<Thumbnail> targets)
public void removeThumbnail(Thumbnail target)
public void removeThumbnailSet(java.util.Collection<Thumbnail> targets)
public void clearThumbnails()
public Details getDetails()
Details
type.getDetails
in interface IObject
protected void setDetails(Details details)
Details.copy(ome.model.internal.Details)
or Details.shallowCopy(ome.model.internal.Details)
methods to set the Pixels.Details
instance instead.public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public Pixels newInstance()
public Pixels 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)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.