@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class LightPath extends java.lang.Object implements java.io.Serializable, IObject, IMutable, IAnnotated
Modifier and Type | Class and Description |
---|---|
static class |
LightPath.Details |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
_dynamicFields |
protected boolean |
_loaded |
protected java.util.Set<LightPathAnnotationLink> |
annotationLinks |
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
ANNOTATIONLINKSCOUNTPEROWNER |
protected Details |
details |
static java.lang.String |
DETAILS |
protected Dichroic |
dichroic |
static java.lang.String |
DICHROIC |
protected java.util.Set<LightPathEmissionFilterLink> |
emissionFilterLink |
static java.lang.String |
EMISSIONFILTERLINK |
static java.lang.String |
EMISSIONFILTERLINKCOUNTPEROWNER |
static java.lang.String |
EVENT_FILTER |
static java.lang.String |
EVENT_FILTER_ANNOTATIONLINKS |
static java.lang.String |
EVENT_FILTER_EMISSIONFILTERLINK |
static java.lang.String |
EVENT_FILTER_EXCITATIONFILTERLINK |
protected java.util.List<LightPathExcitationFilterLink> |
excitationFilterLink |
static java.lang.String |
EXCITATIONFILTERLINK |
static java.lang.String |
EXCITATIONFILTERLINKCOUNTPEROWNER |
static java.util.Set<java.lang.String> |
FIELDS |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
GROUP_FILTER_ANNOTATIONLINKS |
static java.lang.String |
GROUP_FILTER_EMISSIONFILTERLINK |
static java.lang.String |
GROUP_FILTER_EXCITATIONFILTERLINK |
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_EMISSIONFILTERLINK |
static java.lang.String |
OWNER_FILTER_EXCITATIONFILTERLINK |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_ANNOTATIONLINKS |
static java.lang.String |
PERMS_FILTER_EMISSIONFILTERLINK |
static java.lang.String |
PERMS_FILTER_EXCITATIONFILTERLINK |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
Modifier | Constructor and Description |
---|---|
|
LightPath() |
protected |
LightPath(java.lang.Long id) |
|
LightPath(java.lang.Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addLightPathAnnotationLink(LightPathAnnotationLink target)
use instead of setAnnotationLinks .
|
void |
addLightPathAnnotationLink(LightPathAnnotationLink link,
boolean bothSides)
Adds a ome.model.annotations.LightPathAnnotationLink to annotationLinks, allowing for recursion -- whether
or not addLightPathAnnotationLink will be called on the addition if it is loaded
|
void |
addLightPathAnnotationLinkSet(java.util.Collection<LightPathAnnotationLink> targets)
use like addLightPathAnnotationLink.
|
void |
addLightPathEmissionFilterLink(LightPathEmissionFilterLink target)
use instead of setEmissionFilterLink .
|
void |
addLightPathEmissionFilterLink(LightPathEmissionFilterLink link,
boolean bothSides)
Adds a ome.model.acquisition.LightPathEmissionFilterLink to emissionFilterLink, allowing for recursion -- whether
or not addLightPathEmissionFilterLink will be called on the addition if it is loaded
|
void |
addLightPathEmissionFilterLinkSet(java.util.Collection<LightPathEmissionFilterLink> targets)
use like addLightPathEmissionFilterLink.
|
void |
addLightPathExcitationFilterLink(LightPathExcitationFilterLink target)
use instead of setExcitationFilterLink .
|
void |
addLightPathExcitationFilterLink(LightPathExcitationFilterLink link,
boolean bothSides)
Adds a ome.model.acquisition.LightPathExcitationFilterLink to excitationFilterLink, allowing for recursion -- whether
or not addLightPathExcitationFilterLink will be called on the addition if it is loaded
|
void |
addLightPathExcitationFilterLinkSet(java.util.Collection<LightPathExcitationFilterLink> targets)
use like addLightPathExcitationFilterLink.
|
void |
clearAnnotationLinks()
clears the set.
|
void |
clearEmissionFilterLinks()
clears the set.
|
void |
clearExcitationFilterLinks()
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.LightPathAnnotationLink while
collecting the results.
|
<E> java.util.List<E> |
collectEmissionFilterLink(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.acquisition.LightPathEmissionFilterLink while
collecting the results.
|
<E> java.util.List<E> |
collectExcitationFilterLink(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.acquisition.LightPathExcitationFilterLink 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> |
eachLinkedEmissionFilter(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.acquisition.Filter while
collecting the results.
|
<E> java.util.List<E> |
eachLinkedExcitationFilter(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.acquisition.Filter 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<LightPathAnnotationLink> |
findLightPathAnnotationLink(Annotation target)
find all ome.model.annotations.LightPathAnnotationLink which have the argument as their child.
|
java.util.Set<LightPathEmissionFilterLink> |
findLightPathEmissionFilterLink(Filter target)
find all ome.model.acquisition.LightPathEmissionFilterLink which have the argument as their child.
|
java.util.Set<LightPathExcitationFilterLink> |
findLightPathExcitationFilterLink(Filter target)
find all ome.model.acquisition.LightPathExcitationFilterLink which have the argument as their child.
|
protected java.util.Set<LightPathAnnotationLink> |
getAnnotationLinks()
returns annotationLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.annotations.LightPathAnnotationLink that a user has.
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
Dichroic |
getDichroic()
Many-to-one field ome.model.acquisition.LightPath.dichroic (ome.model.acquisition.Dichroic)
|
protected java.util.Set<LightPathEmissionFilterLink> |
getEmissionFilterLink()
returns emissionFilterLink .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getEmissionFilterLinkCountPerOwner()
If fetched, returns the count(*) of ome.model.acquisition.LightPathEmissionFilterLink that a user has.
|
protected java.util.List<LightPathExcitationFilterLink> |
getExcitationFilterLink()
returns excitationFilterLink .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getExcitationFilterLinkCountPerOwner()
If fetched, returns the count(*) of ome.model.acquisition.LightPathExcitationFilterLink that a user has.
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
java.lang.Long |
getId()
The DB unique identifier for this object.
|
LightPathExcitationFilterLink |
getLightPathExcitationFilterLink(int index)
Gets the ome.model.acquisition.LightPathExcitationFilterLink at the given index.
|
LightPathExcitationFilterLink |
getPrimaryLightPathExcitationFilterLink()
Gets the first element of excitationFilterLink which can be interpreted as the
primary or default element in some situations.
|
java.lang.Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
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<LightPathAnnotationLink> |
iterateAnnotationLinks()
should be used rather than accessing the annotationLinks set directly.
|
java.util.Iterator<LightPathEmissionFilterLink> |
iterateEmissionFilterLink()
should be used rather than accessing the emissionFilterLink set directly.
|
java.util.Iterator<LightPathExcitationFilterLink> |
iterateExcitationFilterLink()
should be used rather than accessing the excitationFilterLink set directly.
|
LightPathAnnotationLink |
linkAnnotation(Annotation addition)
Adds a ome.model.annotations.LightPathAnnotationLink 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<Filter> |
linkedEmissionFilterIterator()
provides an iterator over the parent values of the emissionFilterLink.
|
java.util.List<Filter> |
linkedEmissionFilterList()
produces a
List -copy of the underlying collection. |
java.util.Iterator<Filter> |
linkedExcitationFilterIterator()
provides an iterator over the parent values of the excitationFilterLink.
|
java.util.List<Filter> |
linkedExcitationFilterList()
produces a
List -copy of the underlying collection. |
LightPathEmissionFilterLink |
linkEmissionFilter(Filter addition)
Adds a ome.model.acquisition.LightPathEmissionFilterLink to emissionFilterLink .
|
LightPathExcitationFilterLink |
linkExcitationFilter(Filter addition)
Adds a ome.model.acquisition.LightPathExcitationFilterLink to excitationFilterLink .
|
LightPath |
newInstance() |
LightPath |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removeLightPathAnnotationLink(LightPathAnnotationLink target)
removes a single element from this set and makes the inverse call on ome.model.annotations.LightPathAnnotationLink
|
void |
removeLightPathAnnotationLink(LightPathAnnotationLink link,
boolean bothSides)
removes the given LightPathAnnotationLink from annotationLinks, allowing for recursion -- whether
or not the removal will call unlinkLightPath again if loaded.
|
void |
removeLightPathAnnotationLinkSet(java.util.Collection<LightPathAnnotationLink> targets)
use like removeLightPathAnnotationLink
|
void |
removeLightPathEmissionFilterLink(LightPathEmissionFilterLink target)
removes a single element from this set and makes the inverse call on ome.model.acquisition.LightPathEmissionFilterLink
|
void |
removeLightPathEmissionFilterLink(LightPathEmissionFilterLink link,
boolean bothSides)
removes the given LightPathEmissionFilterLink from emissionFilterLink, allowing for recursion -- whether
or not the removal will call unlinkLightPath again if loaded.
|
void |
removeLightPathEmissionFilterLinkSet(java.util.Collection<LightPathEmissionFilterLink> targets)
use like removeLightPathEmissionFilterLink
|
void |
removeLightPathExcitationFilterLink(LightPathExcitationFilterLink target)
removes a single element from this set and makes the inverse call on ome.model.acquisition.LightPathExcitationFilterLink
|
void |
removeLightPathExcitationFilterLink(LightPathExcitationFilterLink link,
boolean bothSides)
removes the given LightPathExcitationFilterLink from excitationFilterLink, allowing for recursion -- whether
or not the removal will call unlinkLightPath again if loaded.
|
void |
removeLightPathExcitationFilterLinkSet(java.util.Collection<LightPathExcitationFilterLink> targets)
use like removeLightPathExcitationFilterLink
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
protected void |
setAnnotationLinks(java.util.Set<LightPathAnnotationLink> 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) |
void |
setDichroic(Dichroic dichroic) |
protected void |
setEmissionFilterLink(java.util.Set<LightPathEmissionFilterLink> emissionFilterLink)
setter for emissionFilterLink should be avoided.
|
protected void |
setEmissionFilterLinkCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
protected void |
setExcitationFilterLink(java.util.List<LightPathExcitationFilterLink> excitationFilterLink)
setter for excitationFilterLink should be avoided.
|
protected void |
setExcitationFilterLinkCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setId(java.lang.Long id)
usually unneeded.
|
LightPathExcitationFilterLink |
setLightPathExcitationFilterLink(int index,
LightPathExcitationFilterLink element)
Sets the ome.model.acquisition.LightPathExcitationFilterLink at the given index.
|
LightPathExcitationFilterLink |
setPrimaryLightPathExcitationFilterLink(LightPathExcitationFilterLink element)
Swaps the first element of excitationFilterLink with the first instance of the
given element.
|
void |
setVersion(java.lang.Integer version)
use with caution.
|
int |
sizeOfAnnotationLinks()
returns the size of annotationLinks.
|
int |
sizeOfEmissionFilterLink()
returns the size of emissionFilterLink.
|
int |
sizeOfExcitationFilterLink()
returns the size of excitationFilterLink.
|
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 |
unlinkEmissionFilter(Filter removal)
unlinks all ome.model.acquisition.Filter instances from this instance.
|
void |
unlinkExcitationFilter(Filter removal)
unlinks all ome.model.acquisition.Filter instances from this instance.
|
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<LightPathAnnotationLink> |
unmodifiableAnnotationLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<LightPathEmissionFilterLink> |
unmodifiableEmissionFilterLink()
Returns an unmodifiable collection-view
|
java.util.Collection<LightPathExcitationFilterLink> |
unmodifiableExcitationFilterLink()
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.util.List<LightPathExcitationFilterLink> excitationFilterLink
public static final java.lang.String OWNER_FILTER_EXCITATIONFILTERLINK
public static final java.lang.String GROUP_FILTER_EXCITATIONFILTERLINK
public static final java.lang.String EVENT_FILTER_EXCITATIONFILTERLINK
public static final java.lang.String PERMS_FILTER_EXCITATIONFILTERLINK
protected Dichroic dichroic
protected java.util.Set<LightPathEmissionFilterLink> emissionFilterLink
public static final java.lang.String OWNER_FILTER_EMISSIONFILTERLINK
public static final java.lang.String GROUP_FILTER_EMISSIONFILTERLINK
public static final java.lang.String EVENT_FILTER_EMISSIONFILTERLINK
public static final java.lang.String PERMS_FILTER_EMISSIONFILTERLINK
protected java.util.Set<LightPathAnnotationLink> 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 EXCITATIONFILTERLINKCOUNTPEROWNER
public static final java.lang.String EXCITATIONFILTERLINK
public static final java.lang.String DICHROIC
public static final java.lang.String EMISSIONFILTERLINKCOUNTPEROWNER
public static final java.lang.String EMISSIONFILTERLINK
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 LightPath()
protected LightPath(java.lang.Long id)
public LightPath(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
in interface IMutable
public void setVersion(java.lang.Integer version)
IMutable
setVersion
in interface IMutable
version
- Value for this objects version.protected java.util.List<LightPathExcitationFilterLink> getExcitationFilterLink()
protected void setExcitationFilterLink(java.util.List<LightPathExcitationFilterLink> excitationFilterLink)
public int sizeOfExcitationFilterLink()
public java.util.Iterator<LightPathExcitationFilterLink> iterateExcitationFilterLink()
EmptyIterator
. To test for a null collection,
see of sizeOfExcitationFilterLink()
is less than zero.public java.util.Collection<LightPathExcitationFilterLink> unmodifiableExcitationFilterLink()
public <E> java.util.List<E> collectExcitationFilterLink(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateExcitationFilterLink()
internally and so will return a value
even if the underlying collection is null.public void addLightPathExcitationFilterLink(LightPathExcitationFilterLink target)
public void addLightPathExcitationFilterLinkSet(java.util.Collection<LightPathExcitationFilterLink> targets)
public void removeLightPathExcitationFilterLink(LightPathExcitationFilterLink target)
public void removeLightPathExcitationFilterLinkSet(java.util.Collection<LightPathExcitationFilterLink> targets)
public LightPathExcitationFilterLink getLightPathExcitationFilterLink(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public LightPathExcitationFilterLink setLightPathExcitationFilterLink(int index, LightPathExcitationFilterLink element) throws java.lang.IndexOutOfBoundsException
List.set(int, Object)
contract. To extend the list, use addLightPathExcitationFilterLink(LightPathExcitationFilterLink)
.java.lang.IndexOutOfBoundsException
List.set(int, Object)
public LightPathExcitationFilterLink getPrimaryLightPathExcitationFilterLink() throws java.lang.IndexOutOfBoundsException
IndexOutOfBoundsException
is throws. This method
will also throw an ApiUsageException
if the collection is
unloaded. See sizeOfExcitationFilterLink()
for more information.java.lang.IndexOutOfBoundsException
public LightPathExcitationFilterLink setPrimaryLightPathExcitationFilterLink(LightPathExcitationFilterLink 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 sizeOfExcitationFilterLink()
for more information.java.lang.IndexOutOfBoundsException
public LightPathExcitationFilterLink linkExcitationFilter(Filter addition)
public void addLightPathExcitationFilterLink(LightPathExcitationFilterLink link, boolean bothSides)
public java.util.Iterator<Filter> linkedExcitationFilterIterator()
ConcurrentModificationException
.
Use linkedExcitationFilterList()
instead.public java.util.Set<LightPathExcitationFilterLink> findLightPathExcitationFilterLink(Filter target)
public java.util.List<Filter> linkedExcitationFilterList()
List
-copy of the underlying collection. Unlike,
linkedExcitationFilterIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedExcitationFilter(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkExcitationFilter(Filter removal)
public void removeLightPathExcitationFilterLink(LightPathExcitationFilterLink link, boolean bothSides)
public void clearExcitationFilterLinks()
protected void setExcitationFilterLinkCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getExcitationFilterLinkCountPerOwner()
public Dichroic getDichroic()
public void setDichroic(Dichroic dichroic)
protected java.util.Set<LightPathEmissionFilterLink> getEmissionFilterLink()
protected void setEmissionFilterLink(java.util.Set<LightPathEmissionFilterLink> emissionFilterLink)
public int sizeOfEmissionFilterLink()
public java.util.Iterator<LightPathEmissionFilterLink> iterateEmissionFilterLink()
EmptyIterator
. To test for a null collection,
see of sizeOfEmissionFilterLink()
is less than zero.public java.util.Collection<LightPathEmissionFilterLink> unmodifiableEmissionFilterLink()
public <E> java.util.List<E> collectEmissionFilterLink(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateEmissionFilterLink()
internally and so will return a value
even if the underlying collection is null.public void addLightPathEmissionFilterLink(LightPathEmissionFilterLink target)
public void addLightPathEmissionFilterLinkSet(java.util.Collection<LightPathEmissionFilterLink> targets)
public void removeLightPathEmissionFilterLink(LightPathEmissionFilterLink target)
public void removeLightPathEmissionFilterLinkSet(java.util.Collection<LightPathEmissionFilterLink> targets)
public LightPathEmissionFilterLink linkEmissionFilter(Filter addition)
public void addLightPathEmissionFilterLink(LightPathEmissionFilterLink link, boolean bothSides)
public java.util.Iterator<Filter> linkedEmissionFilterIterator()
ConcurrentModificationException
.
Use linkedEmissionFilterList()
instead.public java.util.Set<LightPathEmissionFilterLink> findLightPathEmissionFilterLink(Filter target)
public java.util.List<Filter> linkedEmissionFilterList()
List
-copy of the underlying collection. Unlike,
linkedEmissionFilterIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedEmissionFilter(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkEmissionFilter(Filter removal)
public void removeLightPathEmissionFilterLink(LightPathEmissionFilterLink link, boolean bothSides)
public void clearEmissionFilterLinks()
protected void setEmissionFilterLinkCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getEmissionFilterLinkCountPerOwner()
protected java.util.Set<LightPathAnnotationLink> getAnnotationLinks()
protected void setAnnotationLinks(java.util.Set<LightPathAnnotationLink> annotationLinks)
public int sizeOfAnnotationLinks()
sizeOfAnnotationLinks
in interface IAnnotated
public java.util.Iterator<LightPathAnnotationLink> iterateAnnotationLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfAnnotationLinks()
is less than zero.iterateAnnotationLinks
in interface IAnnotated
public java.util.Collection<LightPathAnnotationLink> 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 addLightPathAnnotationLink(LightPathAnnotationLink target)
public void addLightPathAnnotationLinkSet(java.util.Collection<LightPathAnnotationLink> targets)
public void removeLightPathAnnotationLink(LightPathAnnotationLink target)
public void removeLightPathAnnotationLinkSet(java.util.Collection<LightPathAnnotationLink> targets)
public LightPathAnnotationLink linkAnnotation(Annotation addition)
linkAnnotation
in interface IAnnotated
public void addLightPathAnnotationLink(LightPathAnnotationLink link, boolean bothSides)
public java.util.Iterator<Annotation> linkedAnnotationIterator()
ConcurrentModificationException
.
Use linkedAnnotationList()
instead.linkedAnnotationIterator
in interface IAnnotated
public java.util.Set<LightPathAnnotationLink> findLightPathAnnotationLink(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 removeLightPathAnnotationLink(LightPathAnnotationLink 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 LightPath newInstance()
public LightPath 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)