@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class Plate extends java.lang.Object implements java.io.Serializable, IObject, IMutable, IAnnotated
Modifier and Type | Class and Description |
---|---|
static class |
Plate.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<PlateAnnotationLink> |
annotationLinks |
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
ANNOTATIONLINKSCOUNTPEROWNER |
protected java.lang.String |
columnNamingConvention |
static java.lang.String |
COLUMNNAMINGCONVENTION |
protected java.lang.Integer |
columns |
static java.lang.String |
COLUMNS |
protected java.lang.Integer |
defaultSample |
static java.lang.String |
DEFAULTSAMPLE |
protected java.lang.String |
description |
static java.lang.String |
DESCRIPTION |
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_PLATEACQUISITIONS |
static java.lang.String |
EVENT_FILTER_SCREENLINKS |
static java.lang.String |
EVENT_FILTER_WELLS |
protected java.lang.String |
externalIdentifier |
static java.lang.String |
EXTERNALIDENTIFIER |
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_PLATEACQUISITIONS |
static java.lang.String |
GROUP_FILTER_SCREENLINKS |
static java.lang.String |
GROUP_FILTER_WELLS |
protected java.lang.Long |
id |
static java.lang.String |
ID |
protected java.lang.String |
name |
static java.lang.String |
NAME |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
OWNER_FILTER_ANNOTATIONLINKS |
static java.lang.String |
OWNER_FILTER_PLATEACQUISITIONS |
static java.lang.String |
OWNER_FILTER_SCREENLINKS |
static java.lang.String |
OWNER_FILTER_WELLS |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_ANNOTATIONLINKS |
static java.lang.String |
PERMS_FILTER_PLATEACQUISITIONS |
static java.lang.String |
PERMS_FILTER_SCREENLINKS |
static java.lang.String |
PERMS_FILTER_WELLS |
protected java.util.Set<PlateAcquisition> |
plateAcquisitions |
static java.lang.String |
PLATEACQUISITIONS |
protected java.lang.String |
rowNamingConvention |
static java.lang.String |
ROWNAMINGCONVENTION |
protected java.lang.Integer |
rows |
static java.lang.String |
ROWS |
protected java.util.Set<ScreenPlateLink> |
screenLinks |
static java.lang.String |
SCREENLINKS |
static java.lang.String |
SCREENLINKSCOUNTPEROWNER |
protected java.lang.String |
status |
static java.lang.String |
STATUS |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
protected Length |
wellOriginX |
static java.lang.String |
WELLORIGINX |
protected Length |
wellOriginY |
static java.lang.String |
WELLORIGINY |
protected java.util.Set<Well> |
wells |
static java.lang.String |
WELLS |
Modifier | Constructor and Description |
---|---|
|
Plate() |
protected |
Plate(java.lang.Long id) |
|
Plate(java.lang.Long id,
boolean loaded)
Main constructor.
|
|
Plate(java.lang.String _name) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addPlateAcquisition(PlateAcquisition target)
use instead of setPlateAcquisitions .
|
void |
addPlateAcquisitionSet(java.util.Collection<PlateAcquisition> targets)
use like addPlateAcquisition.
|
void |
addPlateAnnotationLink(PlateAnnotationLink target)
use instead of setAnnotationLinks .
|
void |
addPlateAnnotationLink(PlateAnnotationLink link,
boolean bothSides)
Adds a ome.model.annotations.PlateAnnotationLink to annotationLinks, allowing for recursion -- whether
or not addPlateAnnotationLink will be called on the addition if it is loaded
|
void |
addPlateAnnotationLinkSet(java.util.Collection<PlateAnnotationLink> targets)
use like addPlateAnnotationLink.
|
void |
addScreenPlateLink(ScreenPlateLink target)
use instead of setScreenLinks .
|
void |
addScreenPlateLink(ScreenPlateLink link,
boolean bothSides)
Adds a ome.model.screen.ScreenPlateLink to screenLinks, allowing for recursion -- whether
or not addScreenPlateLink will be called on the addition if it is loaded
|
void |
addScreenPlateLinkSet(java.util.Collection<ScreenPlateLink> targets)
use like addScreenPlateLink.
|
void |
addWell(Well target)
use instead of setWells .
|
void |
addWellSet(java.util.Collection<Well> targets)
use like addWell.
|
void |
clearAnnotationLinks()
clears the set.
|
void |
clearPlateAcquisitions()
clears the set.
|
void |
clearScreenLinks()
clears the set.
|
void |
clearWells()
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.PlateAnnotationLink while
collecting the results.
|
<E> java.util.List<E> |
collectPlateAcquisitions(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.PlateAcquisition while
collecting the results.
|
<E> java.util.List<E> |
collectScreenLinks(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.ScreenPlateLink while
collecting the results.
|
<E> java.util.List<E> |
collectWells(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.Well 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> |
eachLinkedScreen(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.screen.Screen 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<PlateAnnotationLink> |
findPlateAnnotationLink(Annotation target)
find all ome.model.annotations.PlateAnnotationLink which have the argument as their child.
|
java.util.Set<ScreenPlateLink> |
findScreenPlateLink(Screen target)
find all ome.model.screen.ScreenPlateLink which have the argument as their parent.
|
protected java.util.Set<PlateAnnotationLink> |
getAnnotationLinks()
returns annotationLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.annotations.PlateAnnotationLink that a user has.
|
java.lang.String |
getColumnNamingConvention()
Simple field ome.model.screen.Plate.columnNamingConvention (java.lang.String)
|
java.lang.Integer |
getColumns()
Simple field ome.model.screen.Plate.columns (java.lang.Integer)
|
java.lang.Integer |
getDefaultSample()
Simple field ome.model.screen.Plate.defaultSample (java.lang.Integer)
|
java.lang.String |
getDescription()
Simple field ome.model.screen.Plate.description (java.lang.String)
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
java.lang.String |
getExternalIdentifier()
Simple field ome.model.screen.Plate.externalIdentifier (java.lang.String)
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
java.lang.Long |
getId()
The DB unique identifier for this object.
|
java.lang.String |
getName()
Simple field ome.model.screen.Plate.name (java.lang.String)
|
protected java.util.Set<PlateAcquisition> |
getPlateAcquisitions()
returns plateAcquisitions .
|
java.lang.String |
getRowNamingConvention()
Simple field ome.model.screen.Plate.rowNamingConvention (java.lang.String)
|
java.lang.Integer |
getRows()
Simple field ome.model.screen.Plate.rows (java.lang.Integer)
|
protected java.util.Set<ScreenPlateLink> |
getScreenLinks()
returns screenLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getScreenLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.screen.ScreenPlateLink that a user has.
|
java.lang.String |
getStatus()
Simple field ome.model.screen.Plate.status (java.lang.String)
|
java.lang.Integer |
getVersion()
This version number is controlled by the database for optimisitic
locking.
|
Length |
getWellOriginX()
Enum-mapped unit-based field ome.model.screen.Plate.wellOriginX (ome.model.units.Length)
|
Length |
getWellOriginY()
Enum-mapped unit-based field ome.model.screen.Plate.wellOriginY (ome.model.units.Length)
|
protected java.util.Set<Well> |
getWells()
returns wells .
|
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<PlateAnnotationLink> |
iterateAnnotationLinks()
should be used rather than accessing the annotationLinks set directly.
|
java.util.Iterator<PlateAcquisition> |
iteratePlateAcquisitions()
should be used rather than accessing the plateAcquisitions set directly.
|
java.util.Iterator<ScreenPlateLink> |
iterateScreenLinks()
should be used rather than accessing the screenLinks set directly.
|
java.util.Iterator<Well> |
iterateWells()
should be used rather than accessing the wells set directly.
|
PlateAnnotationLink |
linkAnnotation(Annotation addition)
Adds a ome.model.annotations.PlateAnnotationLink 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<Screen> |
linkedScreenIterator()
provides an iterator over the child values of the screenLinks.
|
java.util.List<Screen> |
linkedScreenList()
produces a
List -copy of the underlying collection. |
ScreenPlateLink |
linkScreen(Screen addition)
Adds a ome.model.screen.ScreenPlateLink to screenLinks .
|
Plate |
newInstance() |
Plate |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removePlateAcquisition(PlateAcquisition target)
removes a single element from this set and makes the inverse call on ome.model.screen.PlateAcquisition
|
void |
removePlateAcquisitionSet(java.util.Collection<PlateAcquisition> targets)
use like removePlateAcquisition
|
void |
removePlateAnnotationLink(PlateAnnotationLink target)
removes a single element from this set and makes the inverse call on ome.model.annotations.PlateAnnotationLink
|
void |
removePlateAnnotationLink(PlateAnnotationLink link,
boolean bothSides)
removes the given PlateAnnotationLink from annotationLinks, allowing for recursion -- whether
or not the removal will call unlinkPlate again if loaded.
|
void |
removePlateAnnotationLinkSet(java.util.Collection<PlateAnnotationLink> targets)
use like removePlateAnnotationLink
|
void |
removeScreenPlateLink(ScreenPlateLink target)
removes a single element from this set and makes the inverse call on ome.model.screen.ScreenPlateLink
|
void |
removeScreenPlateLink(ScreenPlateLink link,
boolean bothSides)
removes the given ScreenPlateLink from screenLinks, allowing for recursion -- whether
or not the removal will call unlinkPlate again if loaded.
|
void |
removeScreenPlateLinkSet(java.util.Collection<ScreenPlateLink> targets)
use like removeScreenPlateLink
|
void |
removeWell(Well target)
removes a single element from this set and makes the inverse call on ome.model.screen.Well
|
void |
removeWellSet(java.util.Collection<Well> targets)
use like removeWell
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
protected void |
setAnnotationLinks(java.util.Set<PlateAnnotationLink> annotationLinks)
setter for annotationLinks should be avoided.
|
protected void |
setAnnotationLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setColumnNamingConvention(java.lang.String columnNamingConvention) |
void |
setColumns(java.lang.Integer columns) |
void |
setDefaultSample(java.lang.Integer defaultSample) |
void |
setDescription(java.lang.String description) |
protected void |
setDetails(Details details) |
void |
setExternalIdentifier(java.lang.String externalIdentifier) |
void |
setId(java.lang.Long id)
usually unneeded.
|
void |
setName(java.lang.String name) |
protected void |
setPlateAcquisitions(java.util.Set<PlateAcquisition> plateAcquisitions)
setter for plateAcquisitions should be avoided.
|
void |
setRowNamingConvention(java.lang.String rowNamingConvention) |
void |
setRows(java.lang.Integer rows) |
protected void |
setScreenLinks(java.util.Set<ScreenPlateLink> screenLinks)
setter for screenLinks should be avoided.
|
protected void |
setScreenLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setStatus(java.lang.String status) |
void |
setVersion(java.lang.Integer version)
use with caution.
|
void |
setWellOriginX(Length wellOriginX) |
void |
setWellOriginY(Length wellOriginY) |
protected void |
setWells(java.util.Set<Well> wells)
setter for wells should be avoided.
|
int |
sizeOfAnnotationLinks()
returns the size of annotationLinks.
|
int |
sizeOfPlateAcquisitions()
returns the size of plateAcquisitions.
|
int |
sizeOfScreenLinks()
returns the size of screenLinks.
|
int |
sizeOfWells()
returns the size of wells.
|
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 |
unlinkScreen(Screen removal)
unlinks all ome.model.screen.Screen instances from this instance.
|
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<PlateAnnotationLink> |
unmodifiableAnnotationLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<PlateAcquisition> |
unmodifiablePlateAcquisitions()
Returns an unmodifiable collection-view
|
java.util.Collection<ScreenPlateLink> |
unmodifiableScreenLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<Well> |
unmodifiableWells()
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.Integer defaultSample
protected java.lang.String columnNamingConvention
protected java.lang.String rowNamingConvention
protected Length wellOriginX
protected Length wellOriginY
protected java.lang.Integer rows
protected java.lang.Integer columns
protected java.lang.String status
protected java.lang.String externalIdentifier
protected java.util.Set<ScreenPlateLink> screenLinks
public static final java.lang.String OWNER_FILTER_SCREENLINKS
public static final java.lang.String GROUP_FILTER_SCREENLINKS
public static final java.lang.String EVENT_FILTER_SCREENLINKS
public static final java.lang.String PERMS_FILTER_SCREENLINKS
protected java.util.Set<Well> wells
public static final java.lang.String OWNER_FILTER_WELLS
public static final java.lang.String GROUP_FILTER_WELLS
public static final java.lang.String EVENT_FILTER_WELLS
public static final java.lang.String PERMS_FILTER_WELLS
protected java.util.Set<PlateAcquisition> plateAcquisitions
public static final java.lang.String OWNER_FILTER_PLATEACQUISITIONS
public static final java.lang.String GROUP_FILTER_PLATEACQUISITIONS
public static final java.lang.String EVENT_FILTER_PLATEACQUISITIONS
public static final java.lang.String PERMS_FILTER_PLATEACQUISITIONS
protected java.util.Set<PlateAnnotationLink> 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 java.lang.String name
protected java.lang.String description
protected Details details
public static final java.lang.String DEFAULTSAMPLE
public static final java.lang.String COLUMNNAMINGCONVENTION
public static final java.lang.String ROWNAMINGCONVENTION
public static final java.lang.String WELLORIGINX
public static final java.lang.String WELLORIGINY
public static final java.lang.String ROWS
public static final java.lang.String COLUMNS
public static final java.lang.String STATUS
public static final java.lang.String EXTERNALIDENTIFIER
public static final java.lang.String SCREENLINKSCOUNTPEROWNER
public static final java.lang.String SCREENLINKS
public static final java.lang.String WELLS
public static final java.lang.String PLATEACQUISITIONS
public static final java.lang.String ANNOTATIONLINKSCOUNTPEROWNER
public static final java.lang.String ANNOTATIONLINKS
public static final java.lang.String NAME
public static final java.lang.String DESCRIPTION
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 Plate()
protected Plate(java.lang.Long id)
public Plate(java.lang.Long id, boolean loaded)
public Plate(java.lang.String _name)
@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=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getDefaultSample()
public void setDefaultSample(java.lang.Integer defaultSample)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getColumnNamingConvention()
public void setColumnNamingConvention(java.lang.String columnNamingConvention)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getRowNamingConvention()
public void setRowNamingConvention(java.lang.String rowNamingConvention)
public Length getWellOriginX()
public void setWellOriginX(Length wellOriginX)
public Length getWellOriginY()
public void setWellOriginY(Length wellOriginY)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getRows()
public void setRows(java.lang.Integer rows)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public java.lang.Integer getColumns()
public void setColumns(java.lang.Integer columns)
@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=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getExternalIdentifier()
public void setExternalIdentifier(java.lang.String externalIdentifier)
protected java.util.Set<ScreenPlateLink> getScreenLinks()
protected void setScreenLinks(java.util.Set<ScreenPlateLink> screenLinks)
public int sizeOfScreenLinks()
public java.util.Iterator<ScreenPlateLink> iterateScreenLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfScreenLinks()
is less than zero.public java.util.Collection<ScreenPlateLink> unmodifiableScreenLinks()
public <E> java.util.List<E> collectScreenLinks(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateScreenLinks()
internally and so will return a value
even if the underlying collection is null.public void addScreenPlateLink(ScreenPlateLink target)
public void addScreenPlateLinkSet(java.util.Collection<ScreenPlateLink> targets)
public void removeScreenPlateLink(ScreenPlateLink target)
public void removeScreenPlateLinkSet(java.util.Collection<ScreenPlateLink> targets)
public ScreenPlateLink linkScreen(Screen addition)
public void addScreenPlateLink(ScreenPlateLink link, boolean bothSides)
public java.util.Iterator<Screen> linkedScreenIterator()
ConcurrentModificationException
.
Use linkedScreenList()
instead.public java.util.Set<ScreenPlateLink> findScreenPlateLink(Screen target)
public java.util.List<Screen> linkedScreenList()
List
-copy of the underlying collection. Unlike,
linkedScreenIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedScreen(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkScreen(Screen removal)
public void removeScreenPlateLink(ScreenPlateLink link, boolean bothSides)
public void clearScreenLinks()
protected void setScreenLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getScreenLinksCountPerOwner()
protected java.util.Set<Well> getWells()
protected void setWells(java.util.Set<Well> wells)
public int sizeOfWells()
public java.util.Iterator<Well> iterateWells()
EmptyIterator
. To test for a null collection,
see of sizeOfWells()
is less than zero.public java.util.Collection<Well> unmodifiableWells()
public <E> java.util.List<E> collectWells(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateWells()
internally and so will return a value
even if the underlying collection is null.public void addWell(Well target)
public void addWellSet(java.util.Collection<Well> targets)
public void removeWell(Well target)
public void removeWellSet(java.util.Collection<Well> targets)
public void clearWells()
protected java.util.Set<PlateAcquisition> getPlateAcquisitions()
protected void setPlateAcquisitions(java.util.Set<PlateAcquisition> plateAcquisitions)
public int sizeOfPlateAcquisitions()
public java.util.Iterator<PlateAcquisition> iteratePlateAcquisitions()
EmptyIterator
. To test for a null collection,
see of sizeOfPlateAcquisitions()
is less than zero.public java.util.Collection<PlateAcquisition> unmodifiablePlateAcquisitions()
public <E> java.util.List<E> collectPlateAcquisitions(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iteratePlateAcquisitions()
internally and so will return a value
even if the underlying collection is null.public void addPlateAcquisition(PlateAcquisition target)
public void addPlateAcquisitionSet(java.util.Collection<PlateAcquisition> targets)
public void removePlateAcquisition(PlateAcquisition target)
public void removePlateAcquisitionSet(java.util.Collection<PlateAcquisition> targets)
public void clearPlateAcquisitions()
protected java.util.Set<PlateAnnotationLink> getAnnotationLinks()
protected void setAnnotationLinks(java.util.Set<PlateAnnotationLink> annotationLinks)
public int sizeOfAnnotationLinks()
sizeOfAnnotationLinks
in interface IAnnotated
public java.util.Iterator<PlateAnnotationLink> iterateAnnotationLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfAnnotationLinks()
is less than zero.iterateAnnotationLinks
in interface IAnnotated
public java.util.Collection<PlateAnnotationLink> 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 addPlateAnnotationLink(PlateAnnotationLink target)
public void addPlateAnnotationLinkSet(java.util.Collection<PlateAnnotationLink> targets)
public void removePlateAnnotationLink(PlateAnnotationLink target)
public void removePlateAnnotationLinkSet(java.util.Collection<PlateAnnotationLink> targets)
public PlateAnnotationLink linkAnnotation(Annotation addition)
linkAnnotation
in interface IAnnotated
public void addPlateAnnotationLink(PlateAnnotationLink link, boolean bothSides)
public java.util.Iterator<Annotation> linkedAnnotationIterator()
ConcurrentModificationException
.
Use linkedAnnotationList()
instead.linkedAnnotationIterator
in interface IAnnotated
public java.util.Set<PlateAnnotationLink> findPlateAnnotationLink(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 removePlateAnnotationLink(PlateAnnotationLink 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()
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getName()
public void setName(java.lang.String name)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getDescription()
public void setDescription(java.lang.String description)
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 Plate newInstance()
public Plate 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)