@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class WellSample extends java.lang.Object implements java.io.Serializable, IObject, IMutable, IAnnotated
修飾子とタイプ | クラスと説明 |
---|---|
static class |
WellSample.Details |
修飾子とタイプ | フィールドと説明 |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
_dynamicFields |
protected boolean |
_loaded |
protected java.util.Set<WellSampleAnnotationLink> |
annotationLinks |
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
ANNOTATIONLINKSCOUNTPEROWNER |
protected Details |
details |
static java.lang.String |
DETAILS |
static java.lang.String |
EVENT_FILTER |
static java.lang.String |
EVENT_FILTER_ANNOTATIONLINKS |
static java.util.Set<java.lang.String> |
FIELDS |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
GROUP_FILTER_ANNOTATIONLINKS |
protected java.lang.Long |
id |
static java.lang.String |
ID |
protected Image |
image |
static java.lang.String |
IMAGE |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
OWNER_FILTER_ANNOTATIONLINKS |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_ANNOTATIONLINKS |
protected PlateAcquisition |
plateAcquisition |
static java.lang.String |
PLATEACQUISITION |
protected java.lang.Double |
posX |
static java.lang.String |
POSX |
protected java.lang.Double |
posY |
static java.lang.String |
POSY |
protected java.sql.Timestamp |
timepoint |
static java.lang.String |
TIMEPOINT |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
protected Well |
well |
static java.lang.String |
WELL |
修飾子 | コンストラクタと説明 |
---|---|
|
WellSample() |
protected |
WellSample(java.lang.Long id) |
|
WellSample(java.lang.Long id,
boolean loaded)
Main constructor.
|
|
WellSample(Well _well,
Image _image) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addWellSampleAnnotationLink(WellSampleAnnotationLink target)
use instead of setAnnotationLinks .
|
void |
addWellSampleAnnotationLink(WellSampleAnnotationLink link,
boolean bothSides)
Adds a ome.model.annotations.WellSampleAnnotationLink to annotationLinks, allowing for recursion -- whether
or not addWellSampleAnnotationLink will be called on the addition if it is loaded
|
void |
addWellSampleAnnotationLinkSet(java.util.Collection<WellSampleAnnotationLink> targets)
use like addWellSampleAnnotationLink.
|
void |
clearAnnotationLinks()
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.WellSampleAnnotationLink 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.
|
protected void |
errorIfUnloaded() |
java.util.Set<java.lang.String> |
fields()
returns a Set of field names that belong to this class
|
java.util.Set<WellSampleAnnotationLink> |
findWellSampleAnnotationLink(Annotation target)
find all ome.model.annotations.WellSampleAnnotationLink which have the argument as their child.
|
protected java.util.Set<WellSampleAnnotationLink> |
getAnnotationLinks()
returns annotationLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.annotations.WellSampleAnnotationLink that a user has.
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
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.screen.WellSample.image (ome.model.core.Image)
|
PlateAcquisition |
getPlateAcquisition()
Many-to-one field ome.model.screen.WellSample.plateAcquisition (ome.model.screen.PlateAcquisition)
|
java.lang.Double |
getPosX()
Simple field ome.model.screen.WellSample.posX (java.lang.Double)
|
java.lang.Double |
getPosY()
Simple field ome.model.screen.WellSample.posY (java.lang.Double)
|
java.sql.Timestamp |
getTimepoint()
Simple field ome.model.screen.WellSample.timepoint (java.sql.Timestamp)
|
java.lang.Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
Well |
getWell()
Many-to-one field ome.model.screen.WellSample.well (ome.model.screen.Well)
|
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<WellSampleAnnotationLink> |
iterateAnnotationLinks()
should be used rather than accessing the annotationLinks set directly.
|
WellSampleAnnotationLink |
linkAnnotation(Annotation addition)
Adds a ome.model.annotations.WellSampleAnnotationLink to annotationLinks .
|
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. |
WellSample |
newInstance() |
WellSample |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removeWellSampleAnnotationLink(WellSampleAnnotationLink target)
removes a single element from this set and makes the inverse call on ome.model.annotations.WellSampleAnnotationLink
|
void |
removeWellSampleAnnotationLink(WellSampleAnnotationLink link,
boolean bothSides)
removes the given WellSampleAnnotationLink from annotationLinks, allowing for recursion -- whether
or not the removal will call unlinkWellSample again if loaded.
|
void |
removeWellSampleAnnotationLinkSet(java.util.Collection<WellSampleAnnotationLink> targets)
use like removeWellSampleAnnotationLink
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
protected void |
setAnnotationLinks(java.util.Set<WellSampleAnnotationLink> annotationLinks)
setter for annotationLinks should be avoided.
|
protected void |
setAnnotationLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
protected void |
setDetails(Details details)
Use the
Details\#copy(Details) or Details\#shallowCopy(Details)
methods to set the WellSample.Details instance instead. |
void |
setId(java.lang.Long id)
usually unneeded.
|
void |
setImage(Image image) |
void |
setPlateAcquisition(PlateAcquisition plateAcquisition) |
void |
setPosX(java.lang.Double posX) |
void |
setPosY(java.lang.Double posY) |
void |
setTimepoint(java.sql.Timestamp timepoint) |
void |
setVersion(java.lang.Integer version)
use with caution.
|
void |
setWell(Well well) |
int |
sizeOfAnnotationLinks()
returns the size of annotationLinks.
|
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 |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<WellSampleAnnotationLink> |
unmodifiableAnnotationLinks()
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.Double posX
protected java.lang.Double posY
protected java.sql.Timestamp timepoint
protected PlateAcquisition plateAcquisition
protected Well well
protected Image image
protected java.util.Set<WellSampleAnnotationLink> 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 Details details
public static final java.lang.String POSX
public static final java.lang.String POSY
public static final java.lang.String TIMEPOINT
public static final java.lang.String PLATEACQUISITION
public static final java.lang.String WELL
public static final java.lang.String IMAGE
public static final java.lang.String ANNOTATIONLINKSCOUNTPEROWNER
public static final java.lang.String ANNOTATIONLINKS
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 WellSample()
protected WellSample(java.lang.Long id)
public WellSample(java.lang.Long id, boolean loaded)
@DocumentId public java.lang.Long getId()
public void setId(java.lang.Long id)
IObject
public java.lang.Integer getVersion()
getVersion
インタフェース内 IMutable
public void setVersion(java.lang.Integer version)
IMutable
setVersion
インタフェース内 IMutable
version
- Value for this objects version.@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public java.lang.Double getPosX()
public void setPosX(java.lang.Double posX)
@Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public java.lang.Double getPosY()
public void setPosY(java.lang.Double posY)
@DateBridge(resolution=MINUTE) @Fields(value={@Field(index=UN_TOKENIZED),@Field(index=UN_TOKENIZED,name="combined_fields")}) public java.sql.Timestamp getTimepoint()
public void setTimepoint(java.sql.Timestamp timepoint)
public PlateAcquisition getPlateAcquisition()
public void setPlateAcquisition(PlateAcquisition plateAcquisition)
public Well getWell()
public void setWell(Well well)
public Image getImage()
public void setImage(Image image)
protected java.util.Set<WellSampleAnnotationLink> getAnnotationLinks()
protected void setAnnotationLinks(java.util.Set<WellSampleAnnotationLink> annotationLinks)
public int sizeOfAnnotationLinks()
sizeOfAnnotationLinks
インタフェース内 IAnnotated
public java.util.Iterator<WellSampleAnnotationLink> iterateAnnotationLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfAnnotationLinks()
is less than zero.iterateAnnotationLinks
インタフェース内 IAnnotated
public java.util.Collection<WellSampleAnnotationLink> unmodifiableAnnotationLinks()
unmodifiableAnnotationLinks
インタフェース内 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
インタフェース内 IAnnotated
public void addWellSampleAnnotationLink(WellSampleAnnotationLink target)
public void addWellSampleAnnotationLinkSet(java.util.Collection<WellSampleAnnotationLink> targets)
public void removeWellSampleAnnotationLink(WellSampleAnnotationLink target)
public void removeWellSampleAnnotationLinkSet(java.util.Collection<WellSampleAnnotationLink> targets)
public WellSampleAnnotationLink linkAnnotation(Annotation addition)
linkAnnotation
インタフェース内 IAnnotated
public void addWellSampleAnnotationLink(WellSampleAnnotationLink link, boolean bothSides)
public java.util.Iterator<Annotation> linkedAnnotationIterator()
ConcurrentModificationException
.
Use linkedAnnotationList()
instead.linkedAnnotationIterator
インタフェース内 IAnnotated
public java.util.Set<WellSampleAnnotationLink> findWellSampleAnnotationLink(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
ConcurrentModificationExceptions
linkedAnnotationList
インタフェース内 IAnnotated
public <E> java.util.List<E> eachLinkedAnnotation(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.eachLinkedAnnotation
インタフェース内 IAnnotated
public void unlinkAnnotation(Annotation removal)
unlinkAnnotation
インタフェース内 IAnnotated
public void removeWellSampleAnnotationLink(WellSampleAnnotationLink link, boolean bothSides)
public void clearAnnotationLinks()
clearAnnotationLinks
インタフェース内 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()
public Details getDetails()
Details
type.getDetails
インタフェース内 IObject
protected void setDetails(Details details)
Details\#copy(Details)
or Details\#shallowCopy(Details)
methods to set the WellSample.Details
instance instead.public boolean isValid()
IObject
Validation.isValid()
public Validation validate()
IObject
Validation
object.public WellSample newInstance()
public WellSample proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
インタフェース内 Filterable
public java.lang.String toString()
toString
クラス内 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
インタフェース内 IObject
protected void throwNullCollectionException(java.lang.String propertyName)