@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Well extends java.lang.Object implements java.io.Serializable, IObject, IMutable, IAnnotated
Modifier and Type | Class and Description |
---|---|
static class |
Well.Details |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
_dynamicFields |
protected boolean |
_loaded |
protected java.lang.Integer |
alpha |
static java.lang.String |
ALPHA |
protected java.util.Set<WellAnnotationLink> |
annotationLinks |
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
ANNOTATIONLINKSCOUNTPEROWNER |
protected java.lang.Integer |
blue |
static java.lang.String |
BLUE |
protected java.lang.Integer |
column |
static java.lang.String |
COLUMN |
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_REAGENTLINKS |
static java.lang.String |
EVENT_FILTER_WELLSAMPLES |
protected java.lang.String |
externalDescription |
static java.lang.String |
EXTERNALDESCRIPTION |
protected java.lang.String |
externalIdentifier |
static java.lang.String |
EXTERNALIDENTIFIER |
static java.util.Set<java.lang.String> |
FIELDS |
protected java.lang.Integer |
green |
static java.lang.String |
GREEN |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
GROUP_FILTER_ANNOTATIONLINKS |
static java.lang.String |
GROUP_FILTER_REAGENTLINKS |
static java.lang.String |
GROUP_FILTER_WELLSAMPLES |
protected java.lang.Long |
id |
static java.lang.String |
ID |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
OWNER_FILTER_ANNOTATIONLINKS |
static java.lang.String |
OWNER_FILTER_REAGENTLINKS |
static java.lang.String |
OWNER_FILTER_WELLSAMPLES |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_ANNOTATIONLINKS |
static java.lang.String |
PERMS_FILTER_REAGENTLINKS |
static java.lang.String |
PERMS_FILTER_WELLSAMPLES |
protected Plate |
plate |
static java.lang.String |
PLATE |
protected java.util.Set<WellReagentLink> |
reagentLinks |
static java.lang.String |
REAGENTLINKS |
static java.lang.String |
REAGENTLINKSCOUNTPEROWNER |
protected java.lang.Integer |
red |
static java.lang.String |
RED |
protected java.lang.Integer |
row |
static java.lang.String |
ROW |
protected java.lang.String |
status |
static java.lang.String |
STATUS |
protected java.lang.String |
type |
static java.lang.String |
TYPE |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
protected java.util.List<WellSample> |
wellSamples |
static java.lang.String |
WELLSAMPLES |
Modifier | Constructor and Description |
---|---|
|
Well() |
protected |
Well(java.lang.Long id) |
|
Well(java.lang.Long id,
boolean loaded)
Main constructor.
|
|
Well(Plate _plate) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addWellAnnotationLink(WellAnnotationLink target)
use instead of setAnnotationLinks .
|
void |
addWellAnnotationLink(WellAnnotationLink link,
boolean bothSides)
Adds a ome.model.annotations.WellAnnotationLink to annotationLinks, allowing for recursion -- whether
or not addWellAnnotationLink will be called on the addition if it is loaded
|
void |
addWellAnnotationLinkSet(java.util.Collection<WellAnnotationLink> targets)
use like addWellAnnotationLink.
|
void |
addWellReagentLink(WellReagentLink target)
use instead of setReagentLinks .
|
void |
addWellReagentLink(WellReagentLink link,
boolean bothSides)
Adds a ome.model.screen.WellReagentLink to reagentLinks, allowing for recursion -- whether
or not addWellReagentLink will be called on the addition if it is loaded
|
void |
addWellReagentLinkSet(java.util.Collection<WellReagentLink> targets)
use like addWellReagentLink.
|
void |
addWellSample(WellSample target)
use instead of setWellSamples .
|
void |
addWellSampleSet(java.util.Collection<WellSample> targets)
use like addWellSample.
|
void |
clearAnnotationLinks()
clears the set.
|
void |
clearReagentLinks()
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.WellAnnotationLink while
collecting the results.
|
<E> java.util.List<E> |
collectReagentLinks(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.WellReagentLink 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> |
eachLinkedReagent(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.Reagent 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<WellAnnotationLink> |
findWellAnnotationLink(Annotation target)
find all ome.model.annotations.WellAnnotationLink which have the argument as their child.
|
java.util.Set<WellReagentLink> |
findWellReagentLink(Reagent target)
find all ome.model.screen.WellReagentLink which have the argument as their child.
|
java.lang.Integer |
getAlpha()
Simple field ome.model.screen.Well.alpha (java.lang.Integer)
|
protected java.util.Set<WellAnnotationLink> |
getAnnotationLinks()
returns annotationLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.annotations.WellAnnotationLink that a user has.
|
java.lang.Integer |
getBlue()
Simple field ome.model.screen.Well.blue (java.lang.Integer)
|
java.lang.Integer |
getColumn()
Simple field ome.model.screen.Well.column (java.lang.Integer)
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
java.lang.String |
getExternalDescription()
Simple field ome.model.screen.Well.externalDescription (java.lang.String)
|
java.lang.String |
getExternalIdentifier()
Simple field ome.model.screen.Well.externalIdentifier (java.lang.String)
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
java.lang.Integer |
getGreen()
Simple field ome.model.screen.Well.green (java.lang.Integer)
|
java.lang.Long |
getId()
The DB unique identifier for this object.
|
Plate |
getPlate()
Many-to-one field ome.model.screen.Well.plate (ome.model.screen.Plate)
|
WellSample |
getPrimaryWellSample()
Gets the first element of wellSamples which can be interpreted as the
primary or default element in some situations.
|
protected java.util.Set<WellReagentLink> |
getReagentLinks()
returns reagentLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getReagentLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.screen.WellReagentLink that a user has.
|
java.lang.Integer |
getRed()
Simple field ome.model.screen.Well.red (java.lang.Integer)
|
java.lang.Integer |
getRow()
Simple field ome.model.screen.Well.row (java.lang.Integer)
|
java.lang.String |
getStatus()
Simple field ome.model.screen.Well.status (java.lang.String)
|
java.lang.String |
getType()
Simple field ome.model.screen.Well.type (java.lang.String)
|
java.lang.Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
WellSample |
getWellSample(int index)
Gets the ome.model.screen.WellSample at the given index.
|
protected java.util.List<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<WellAnnotationLink> |
iterateAnnotationLinks()
should be used rather than accessing the annotationLinks set directly.
|
java.util.Iterator<WellReagentLink> |
iterateReagentLinks()
should be used rather than accessing the reagentLinks set directly.
|
java.util.Iterator<WellSample> |
iterateWellSamples()
should be used rather than accessing the wellSamples set directly.
|
WellAnnotationLink |
linkAnnotation(Annotation addition)
Adds a ome.model.annotations.WellAnnotationLink 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. |
java.util.Iterator<Reagent> |
linkedReagentIterator()
provides an iterator over the parent values of the reagentLinks.
|
java.util.List<Reagent> |
linkedReagentList()
produces a
List -copy of the underlying collection. |
WellReagentLink |
linkReagent(Reagent addition)
Adds a ome.model.screen.WellReagentLink to reagentLinks .
|
Well |
newInstance() |
Well |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removeWellAnnotationLink(WellAnnotationLink target)
removes a single element from this set and makes the inverse call on ome.model.annotations.WellAnnotationLink
|
void |
removeWellAnnotationLink(WellAnnotationLink link,
boolean bothSides)
removes the given WellAnnotationLink from annotationLinks, allowing for recursion -- whether
or not the removal will call unlinkWell again if loaded.
|
void |
removeWellAnnotationLinkSet(java.util.Collection<WellAnnotationLink> targets)
use like removeWellAnnotationLink
|
void |
removeWellReagentLink(WellReagentLink target)
removes a single element from this set and makes the inverse call on ome.model.screen.WellReagentLink
|
void |
removeWellReagentLink(WellReagentLink link,
boolean bothSides)
removes the given WellReagentLink from reagentLinks, allowing for recursion -- whether
or not the removal will call unlinkWell again if loaded.
|
void |
removeWellReagentLinkSet(java.util.Collection<WellReagentLink> targets)
use like removeWellReagentLink
|
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 |
setAlpha(java.lang.Integer alpha) |
protected void |
setAnnotationLinks(java.util.Set<WellAnnotationLink> annotationLinks)
setter for annotationLinks should be avoided.
|
protected void |
setAnnotationLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setBlue(java.lang.Integer blue) |
void |
setColumn(java.lang.Integer column) |
protected void |
setDetails(Details details) |
void |
setExternalDescription(java.lang.String externalDescription) |
void |
setExternalIdentifier(java.lang.String externalIdentifier) |
void |
setGreen(java.lang.Integer green) |
void |
setId(java.lang.Long id)
usually unneeded.
|
void |
setPlate(Plate plate) |
WellSample |
setPrimaryWellSample(WellSample element)
Swaps the first element of wellSamples with the first instance of the
given element.
|
protected void |
setReagentLinks(java.util.Set<WellReagentLink> reagentLinks)
setter for reagentLinks should be avoided.
|
protected void |
setReagentLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setRed(java.lang.Integer red) |
void |
setRow(java.lang.Integer row) |
void |
setStatus(java.lang.String status) |
void |
setType(java.lang.String type) |
void |
setVersion(java.lang.Integer version)
use with caution.
|
WellSample |
setWellSample(int index,
WellSample element)
Sets the ome.model.screen.WellSample at the given index.
|
protected void |
setWellSamples(java.util.List<WellSample> wellSamples)
setter for wellSamples should be avoided.
|
int |
sizeOfAnnotationLinks()
returns the size of annotationLinks.
|
int |
sizeOfReagentLinks()
returns the size of reagentLinks.
|
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 |
unlinkReagent(Reagent removal)
unlinks all ome.model.screen.Reagent instances from this instance.
|
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<WellAnnotationLink> |
unmodifiableAnnotationLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<WellReagentLink> |
unmodifiableReagentLinks()
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.String status
protected java.lang.Integer column
protected java.lang.Integer row
protected java.lang.Integer red
protected java.lang.Integer green
protected java.lang.Integer blue
protected java.lang.Integer alpha
protected java.util.Set<WellReagentLink> reagentLinks
public static final java.lang.String OWNER_FILTER_REAGENTLINKS
public static final java.lang.String GROUP_FILTER_REAGENTLINKS
public static final java.lang.String EVENT_FILTER_REAGENTLINKS
public static final java.lang.String PERMS_FILTER_REAGENTLINKS
protected java.lang.String externalDescription
protected java.lang.String externalIdentifier
protected java.lang.String type
protected java.util.List<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 Plate plate
protected java.util.Set<WellAnnotationLink> 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 STATUS
public static final java.lang.String COLUMN
public static final java.lang.String ROW
public static final java.lang.String RED
public static final java.lang.String GREEN
public static final java.lang.String BLUE
public static final java.lang.String ALPHA
public static final java.lang.String REAGENTLINKSCOUNTPEROWNER
public static final java.lang.String REAGENTLINKS
public static final java.lang.String EXTERNALDESCRIPTION
public static final java.lang.String EXTERNALIDENTIFIER
public static final java.lang.String TYPE
public static final java.lang.String WELLSAMPLES
public static final java.lang.String PLATE
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 Well()
protected Well(java.lang.Long id)
public Well(java.lang.Long id, boolean loaded)
public Well(Plate _plate)
@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=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getStatus()
public void setStatus(java.lang.String status)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getColumn()
public void setColumn(java.lang.Integer column)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getRow()
public void setRow(java.lang.Integer row)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getRed()
public void setRed(java.lang.Integer red)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getGreen()
public void setGreen(java.lang.Integer green)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getBlue()
public void setBlue(java.lang.Integer blue)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Integer getAlpha()
public void setAlpha(java.lang.Integer alpha)
protected java.util.Set<WellReagentLink> getReagentLinks()
protected void setReagentLinks(java.util.Set<WellReagentLink> reagentLinks)
public int sizeOfReagentLinks()
public java.util.Iterator<WellReagentLink> iterateReagentLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfReagentLinks()
is less than zero.public java.util.Collection<WellReagentLink> unmodifiableReagentLinks()
public <E> java.util.List<E> collectReagentLinks(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateReagentLinks()
internally and so will return a value
even if the underlying collection is null.public void addWellReagentLink(WellReagentLink target)
public void addWellReagentLinkSet(java.util.Collection<WellReagentLink> targets)
public void removeWellReagentLink(WellReagentLink target)
public void removeWellReagentLinkSet(java.util.Collection<WellReagentLink> targets)
public WellReagentLink linkReagent(Reagent addition)
public void addWellReagentLink(WellReagentLink link, boolean bothSides)
public java.util.Iterator<Reagent> linkedReagentIterator()
ConcurrentModificationException
.
Use linkedReagentList()
instead.public java.util.Set<WellReagentLink> findWellReagentLink(Reagent target)
public java.util.List<Reagent> linkedReagentList()
List
-copy of the underlying collection. Unlike,
linkedReagentIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedReagent(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkReagent(Reagent removal)
public void removeWellReagentLink(WellReagentLink link, boolean bothSides)
public void clearReagentLinks()
protected void setReagentLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getReagentLinksCountPerOwner()
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getExternalDescription()
public void setExternalDescription(java.lang.String externalDescription)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getExternalIdentifier()
public void setExternalIdentifier(java.lang.String externalIdentifier)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getType()
public void setType(java.lang.String type)
protected java.util.List<WellSample> getWellSamples()
protected void setWellSamples(java.util.List<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()
public WellSample getWellSample(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public WellSample setWellSample(int index, WellSample element) throws java.lang.IndexOutOfBoundsException
List.set(int, Object)
contract. To extend the list, use addWellSample(WellSample)
.java.lang.IndexOutOfBoundsException
List.set(int, Object)
public WellSample getPrimaryWellSample() throws java.lang.IndexOutOfBoundsException
IndexOutOfBoundsException
is throws. This method
will also throw an ApiUsageException
if the collection is
unloaded. See sizeOfWellSamples()
for more information.java.lang.IndexOutOfBoundsException
public WellSample setPrimaryWellSample(WellSample 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 sizeOfWellSamples()
for more information.java.lang.IndexOutOfBoundsException
public Plate getPlate()
public void setPlate(Plate plate)
protected java.util.Set<WellAnnotationLink> getAnnotationLinks()
protected void setAnnotationLinks(java.util.Set<WellAnnotationLink> annotationLinks)
public int sizeOfAnnotationLinks()
sizeOfAnnotationLinks
in interface IAnnotated
public java.util.Iterator<WellAnnotationLink> iterateAnnotationLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfAnnotationLinks()
is less than zero.iterateAnnotationLinks
in interface IAnnotated
public java.util.Collection<WellAnnotationLink> 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 addWellAnnotationLink(WellAnnotationLink target)
public void addWellAnnotationLinkSet(java.util.Collection<WellAnnotationLink> targets)
public void removeWellAnnotationLink(WellAnnotationLink target)
public void removeWellAnnotationLinkSet(java.util.Collection<WellAnnotationLink> targets)
public WellAnnotationLink linkAnnotation(Annotation addition)
linkAnnotation
in interface IAnnotated
public void addWellAnnotationLink(WellAnnotationLink link, boolean bothSides)
public java.util.Iterator<Annotation> linkedAnnotationIterator()
ConcurrentModificationException
.
Use linkedAnnotationList()
instead.linkedAnnotationIterator
in interface IAnnotated
public java.util.Set<WellAnnotationLink> findWellAnnotationLink(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 removeWellAnnotationLink(WellAnnotationLink 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()
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 Well newInstance()
public Well 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)