@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class OriginalFile extends java.lang.Object implements java.io.Serializable, IObject, IMutable, IAnnotated
Modifier and Type | Class and Description |
---|---|
static class |
OriginalFile.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<OriginalFileAnnotationLink> |
annotationLinks |
static java.lang.String |
ANNOTATIONLINKS |
static java.lang.String |
ANNOTATIONLINKSCOUNTPEROWNER |
protected java.sql.Timestamp |
atime |
static java.lang.String |
ATIME |
protected java.sql.Timestamp |
ctime |
static java.lang.String |
CTIME |
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_FILESETENTRIES |
static java.lang.String |
EVENT_FILTER_PIXELSFILEMAPS |
static java.util.Set<java.lang.String> |
FIELDS |
protected java.util.Set<FilesetEntry> |
filesetEntries |
static java.lang.String |
FILESETENTRIES |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
GROUP_FILTER_ANNOTATIONLINKS |
static java.lang.String |
GROUP_FILTER_FILESETENTRIES |
static java.lang.String |
GROUP_FILTER_PIXELSFILEMAPS |
protected java.lang.String |
hash |
static java.lang.String |
HASH |
protected ChecksumAlgorithm |
hasher |
static java.lang.String |
HASHER |
protected java.lang.Long |
id |
static java.lang.String |
ID |
protected java.lang.String |
mimetype |
static java.lang.String |
MIMETYPE |
protected java.sql.Timestamp |
mtime |
static java.lang.String |
MTIME |
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_FILESETENTRIES |
static java.lang.String |
OWNER_FILTER_PIXELSFILEMAPS |
protected java.lang.String |
path |
static java.lang.String |
PATH |
static java.lang.String |
PERMS_FILTER |
static java.lang.String |
PERMS_FILTER_ANNOTATIONLINKS |
static java.lang.String |
PERMS_FILTER_FILESETENTRIES |
static java.lang.String |
PERMS_FILTER_PIXELSFILEMAPS |
protected java.util.Set<PixelsOriginalFileMap> |
pixelsFileMaps |
static java.lang.String |
PIXELSFILEMAPS |
static java.lang.String |
PIXELSFILEMAPSCOUNTPEROWNER |
protected java.lang.String |
repo |
static java.lang.String |
REPO |
protected java.lang.Long |
size |
static java.lang.String |
SIZE |
protected java.lang.Integer |
version |
static java.lang.String |
VERSION |
Modifier | Constructor and Description |
---|---|
|
OriginalFile() |
protected |
OriginalFile(java.lang.Long id) |
|
OriginalFile(java.lang.Long id,
boolean loaded)
Main constructor.
|
|
OriginalFile(java.lang.String _path,
java.lang.String _name) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
void |
addFilesetEntry(FilesetEntry target)
use instead of setFilesetEntries .
|
void |
addFilesetEntrySet(java.util.Collection<FilesetEntry> targets)
use like addFilesetEntry.
|
void |
addOriginalFileAnnotationLink(OriginalFileAnnotationLink target)
use instead of setAnnotationLinks .
|
void |
addOriginalFileAnnotationLink(OriginalFileAnnotationLink link,
boolean bothSides)
Adds a ome.model.annotations.OriginalFileAnnotationLink to annotationLinks, allowing for recursion -- whether
or not addOriginalFileAnnotationLink will be called on the addition if it is loaded
|
void |
addOriginalFileAnnotationLinkSet(java.util.Collection<OriginalFileAnnotationLink> targets)
use like addOriginalFileAnnotationLink.
|
void |
addPixelsOriginalFileMap(PixelsOriginalFileMap target)
use instead of setPixelsFileMaps .
|
void |
addPixelsOriginalFileMap(PixelsOriginalFileMap link,
boolean bothSides)
Adds a ome.model.core.PixelsOriginalFileMap to pixelsFileMaps, allowing for recursion -- whether
or not addPixelsOriginalFileMap will be called on the addition if it is loaded
|
void |
addPixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
use like addPixelsOriginalFileMap.
|
void |
clearAnnotationLinks()
clears the set.
|
void |
clearFilesetEntries()
clears the set.
|
void |
clearPixelsLinks()
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.OriginalFileAnnotationLink while
collecting the results.
|
<E> java.util.List<E> |
collectFilesetEntries(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.fs.FilesetEntry while
collecting the results.
|
<E> java.util.List<E> |
collectPixelsFileMaps(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.PixelsOriginalFileMap while
collecting the results.
|
<E> java.util.List<E> |
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> |
eachLinkedPixels(CBlock<E> block)
takes a CBlock and calls the block once for each ome.model.core.Pixels 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<OriginalFileAnnotationLink> |
findOriginalFileAnnotationLink(Annotation target)
find all ome.model.annotations.OriginalFileAnnotationLink which have the argument as their child.
|
java.util.Set<PixelsOriginalFileMap> |
findPixelsOriginalFileMap(Pixels target)
find all ome.model.core.PixelsOriginalFileMap which have the argument as their child.
|
protected java.util.Set<OriginalFileAnnotationLink> |
getAnnotationLinks()
returns annotationLinks .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getAnnotationLinksCountPerOwner()
If fetched, returns the count(*) of ome.model.annotations.OriginalFileAnnotationLink that a user has.
|
java.sql.Timestamp |
getAtime()
Simple field ome.model.core.OriginalFile.atime (java.sql.Timestamp)
|
java.sql.Timestamp |
getCtime()
Simple field ome.model.core.OriginalFile.ctime (java.sql.Timestamp)
|
Details |
getDetails()
The details of this object correspond to low-level system
information.
|
protected java.util.Set<FilesetEntry> |
getFilesetEntries()
returns filesetEntries .
|
GraphHolder |
getGraphHolder()
retrieves the
GraphHolder for this entity. |
java.lang.String |
getHash()
Simple field ome.model.core.OriginalFile.hash (java.lang.String)
|
ChecksumAlgorithm |
getHasher()
Many-to-one field ome.model.core.OriginalFile.hasher (ome.model.enums.ChecksumAlgorithm)
|
java.lang.Long |
getId()
The DB unique identifier for this object.
|
java.lang.String |
getMimetype()
Simple field ome.model.core.OriginalFile.mimetype (java.lang.String)
|
java.sql.Timestamp |
getMtime()
Simple field ome.model.core.OriginalFile.mtime (java.sql.Timestamp)
|
java.lang.String |
getName()
Simple field ome.model.core.OriginalFile.name (java.lang.String)
|
java.lang.String |
getPath()
Simple field ome.model.core.OriginalFile.path (java.lang.String)
|
protected java.util.Set<PixelsOriginalFileMap> |
getPixelsFileMaps()
returns pixelsFileMaps .
|
java.util.Map<java.lang.Long,java.lang.Long> |
getPixelsFileMapsCountPerOwner()
If fetched, returns the count(*) of ome.model.core.PixelsOriginalFileMap that a user has.
|
java.lang.String |
getRepo()
Simple field ome.model.core.OriginalFile.repo (java.lang.String)
|
java.lang.Long |
getSize()
Simple field ome.model.core.OriginalFile.size (java.lang.Long)
|
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<OriginalFileAnnotationLink> |
iterateAnnotationLinks()
should be used rather than accessing the annotationLinks set directly.
|
java.util.Iterator<FilesetEntry> |
iterateFilesetEntries()
should be used rather than accessing the filesetEntries set directly.
|
java.util.Iterator<PixelsOriginalFileMap> |
iteratePixelsFileMaps()
should be used rather than accessing the pixelsFileMaps set directly.
|
OriginalFileAnnotationLink |
linkAnnotation(Annotation addition)
Adds a ome.model.annotations.OriginalFileAnnotationLink 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<Pixels> |
linkedPixelsIterator()
provides an iterator over the parent values of the pixelsFileMaps.
|
java.util.List<Pixels> |
linkedPixelsList()
produces a
List -copy of the underlying collection. |
PixelsOriginalFileMap |
linkPixels(Pixels addition)
Adds a ome.model.core.PixelsOriginalFileMap to pixelsFileMaps .
|
OriginalFile |
newInstance() |
OriginalFile |
proxy() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
void |
removeFilesetEntry(FilesetEntry target)
removes a single element from this set and makes the inverse call on ome.model.fs.FilesetEntry
|
void |
removeFilesetEntrySet(java.util.Collection<FilesetEntry> targets)
use like removeFilesetEntry
|
void |
removeOriginalFileAnnotationLink(OriginalFileAnnotationLink target)
removes a single element from this set and makes the inverse call on ome.model.annotations.OriginalFileAnnotationLink
|
void |
removeOriginalFileAnnotationLink(OriginalFileAnnotationLink link,
boolean bothSides)
removes the given OriginalFileAnnotationLink from annotationLinks, allowing for recursion -- whether
or not the removal will call unlinkOriginalFile again if loaded.
|
void |
removeOriginalFileAnnotationLinkSet(java.util.Collection<OriginalFileAnnotationLink> targets)
use like removeOriginalFileAnnotationLink
|
void |
removePixelsOriginalFileMap(PixelsOriginalFileMap target)
removes a single element from this set and makes the inverse call on ome.model.core.PixelsOriginalFileMap
|
void |
removePixelsOriginalFileMap(PixelsOriginalFileMap link,
boolean bothSides)
removes the given PixelsOriginalFileMap from pixelsFileMaps, allowing for recursion -- whether
or not the removal will call unlinkOriginalFile again if loaded.
|
void |
removePixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
use like removePixelsOriginalFileMap
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
protected void |
setAnnotationLinks(java.util.Set<OriginalFileAnnotationLink> annotationLinks)
setter for annotationLinks should be avoided.
|
protected void |
setAnnotationLinksCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setAtime(java.sql.Timestamp atime) |
void |
setCtime(java.sql.Timestamp ctime) |
protected void |
setDetails(Details details) |
protected void |
setFilesetEntries(java.util.Set<FilesetEntry> filesetEntries)
setter for filesetEntries should be avoided.
|
void |
setHash(java.lang.String hash) |
void |
setHasher(ChecksumAlgorithm hasher) |
void |
setId(java.lang.Long id)
usually unneeded.
|
void |
setMimetype(java.lang.String mimetype) |
void |
setMtime(java.sql.Timestamp mtime) |
void |
setName(java.lang.String name) |
void |
setPath(java.lang.String path) |
protected void |
setPixelsFileMaps(java.util.Set<PixelsOriginalFileMap> pixelsFileMaps)
setter for pixelsFileMaps should be avoided.
|
protected void |
setPixelsFileMapsCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map) |
void |
setRepo(java.lang.String repo) |
void |
setSize(java.lang.Long size) |
void |
setVersion(java.lang.Integer version)
use with caution.
|
int |
sizeOfAnnotationLinks()
returns the size of annotationLinks.
|
int |
sizeOfFilesetEntries()
returns the size of filesetEntries.
|
int |
sizeOfPixelsFileMaps()
returns the size of pixelsFileMaps.
|
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 |
unlinkPixels(Pixels removal)
unlinks all ome.model.core.Pixels instances from this instance.
|
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
java.util.Collection<OriginalFileAnnotationLink> |
unmodifiableAnnotationLinks()
Returns an unmodifiable collection-view
|
java.util.Collection<FilesetEntry> |
unmodifiableFilesetEntries()
Returns an unmodifiable collection-view
|
java.util.Collection<PixelsOriginalFileMap> |
unmodifiablePixelsFileMaps()
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.Set<PixelsOriginalFileMap> pixelsFileMaps
public static final java.lang.String OWNER_FILTER_PIXELSFILEMAPS
public static final java.lang.String GROUP_FILTER_PIXELSFILEMAPS
public static final java.lang.String EVENT_FILTER_PIXELSFILEMAPS
public static final java.lang.String PERMS_FILTER_PIXELSFILEMAPS
protected java.lang.String path
protected java.lang.String repo
protected java.lang.Long size
protected java.sql.Timestamp atime
protected java.sql.Timestamp mtime
protected java.sql.Timestamp ctime
protected ChecksumAlgorithm hasher
protected java.lang.String hash
protected java.lang.String mimetype
protected java.util.Set<FilesetEntry> filesetEntries
public static final java.lang.String OWNER_FILTER_FILESETENTRIES
public static final java.lang.String GROUP_FILTER_FILESETENTRIES
public static final java.lang.String EVENT_FILTER_FILESETENTRIES
public static final java.lang.String PERMS_FILTER_FILESETENTRIES
protected java.util.Set<OriginalFileAnnotationLink> 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 Details details
public static final java.lang.String PIXELSFILEMAPSCOUNTPEROWNER
public static final java.lang.String PIXELSFILEMAPS
public static final java.lang.String PATH
public static final java.lang.String REPO
public static final java.lang.String SIZE
public static final java.lang.String ATIME
public static final java.lang.String MTIME
public static final java.lang.String CTIME
public static final java.lang.String HASHER
public static final java.lang.String HASH
public static final java.lang.String MIMETYPE
public static final java.lang.String FILESETENTRIES
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 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 OriginalFile()
protected OriginalFile(java.lang.Long id)
public OriginalFile(java.lang.Long id, boolean loaded)
public OriginalFile(java.lang.String _path, 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.protected java.util.Set<PixelsOriginalFileMap> getPixelsFileMaps()
protected void setPixelsFileMaps(java.util.Set<PixelsOriginalFileMap> pixelsFileMaps)
public int sizeOfPixelsFileMaps()
public java.util.Iterator<PixelsOriginalFileMap> iteratePixelsFileMaps()
EmptyIterator
. To test for a null collection,
see of sizeOfPixelsFileMaps()
is less than zero.public java.util.Collection<PixelsOriginalFileMap> unmodifiablePixelsFileMaps()
public <E> java.util.List<E> collectPixelsFileMaps(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iteratePixelsFileMaps()
internally and so will return a value
even if the underlying collection is null.public void addPixelsOriginalFileMap(PixelsOriginalFileMap target)
public void addPixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
public void removePixelsOriginalFileMap(PixelsOriginalFileMap target)
public void removePixelsOriginalFileMapSet(java.util.Collection<PixelsOriginalFileMap> targets)
public PixelsOriginalFileMap linkPixels(Pixels addition)
public void addPixelsOriginalFileMap(PixelsOriginalFileMap link, boolean bothSides)
public java.util.Iterator<Pixels> linkedPixelsIterator()
ConcurrentModificationException
.
Use linkedPixelsList()
instead.public java.util.Set<PixelsOriginalFileMap> findPixelsOriginalFileMap(Pixels target)
public java.util.List<Pixels> linkedPixelsList()
List
-copy of the underlying collection. Unlike,
linkedPixelsIterator()
, while using the returned List
,
modifications can be made to the underlying collection without throwing
ConcurrentModificationException
.public <E> java.util.List<E> eachLinkedPixels(CBlock<E> block)
block == null
, then the
iterator values themselves are collected.public void unlinkPixels(Pixels removal)
public void removePixelsOriginalFileMap(PixelsOriginalFileMap link, boolean bothSides)
public void clearPixelsLinks()
protected void setPixelsFileMapsCountPerOwner(java.util.Map<java.lang.Long,java.lang.Long> map)
public java.util.Map<java.lang.Long,java.lang.Long> getPixelsFileMapsCountPerOwner()
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getPath()
public void setPath(java.lang.String path)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getRepo()
public void setRepo(java.lang.String repo)
@Field(index=UN_TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.Long getSize()
public void setSize(java.lang.Long size)
@DateBridge(resolution=MINUTE) @Fields(value=@Field(index=UN_TOKENIZED)) public java.sql.Timestamp getAtime()
public void setAtime(java.sql.Timestamp atime)
@DateBridge(resolution=MINUTE) @Fields(value=@Field(index=UN_TOKENIZED)) public java.sql.Timestamp getMtime()
public void setMtime(java.sql.Timestamp mtime)
@DateBridge(resolution=MINUTE) @Fields(value=@Field(index=UN_TOKENIZED)) public java.sql.Timestamp getCtime()
public void setCtime(java.sql.Timestamp ctime)
public ChecksumAlgorithm getHasher()
public void setHasher(ChecksumAlgorithm hasher)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getHash()
public void setHash(java.lang.String hash)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getMimetype()
public void setMimetype(java.lang.String mimetype)
protected java.util.Set<FilesetEntry> getFilesetEntries()
protected void setFilesetEntries(java.util.Set<FilesetEntry> filesetEntries)
public int sizeOfFilesetEntries()
public java.util.Iterator<FilesetEntry> iterateFilesetEntries()
EmptyIterator
. To test for a null collection,
see of sizeOfFilesetEntries()
is less than zero.public java.util.Collection<FilesetEntry> unmodifiableFilesetEntries()
public <E> java.util.List<E> collectFilesetEntries(CBlock<E> block)
block == null
, then the
iterator values themselves are collected. This method uses
iterateFilesetEntries()
internally and so will return a value
even if the underlying collection is null.public void addFilesetEntry(FilesetEntry target)
public void addFilesetEntrySet(java.util.Collection<FilesetEntry> targets)
public void removeFilesetEntry(FilesetEntry target)
public void removeFilesetEntrySet(java.util.Collection<FilesetEntry> targets)
public void clearFilesetEntries()
protected java.util.Set<OriginalFileAnnotationLink> getAnnotationLinks()
protected void setAnnotationLinks(java.util.Set<OriginalFileAnnotationLink> annotationLinks)
public int sizeOfAnnotationLinks()
sizeOfAnnotationLinks
in interface IAnnotated
public java.util.Iterator<OriginalFileAnnotationLink> iterateAnnotationLinks()
EmptyIterator
. To test for a null collection,
see of sizeOfAnnotationLinks()
is less than zero.iterateAnnotationLinks
in interface IAnnotated
public java.util.Collection<OriginalFileAnnotationLink> 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 addOriginalFileAnnotationLink(OriginalFileAnnotationLink target)
public void addOriginalFileAnnotationLinkSet(java.util.Collection<OriginalFileAnnotationLink> targets)
public void removeOriginalFileAnnotationLink(OriginalFileAnnotationLink target)
public void removeOriginalFileAnnotationLinkSet(java.util.Collection<OriginalFileAnnotationLink> targets)
public OriginalFileAnnotationLink linkAnnotation(Annotation addition)
linkAnnotation
in interface IAnnotated
public void addOriginalFileAnnotationLink(OriginalFileAnnotationLink link, boolean bothSides)
public java.util.Iterator<Annotation> linkedAnnotationIterator()
ConcurrentModificationException
.
Use linkedAnnotationList()
instead.linkedAnnotationIterator
in interface IAnnotated
public java.util.Set<OriginalFileAnnotationLink> findOriginalFileAnnotationLink(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 removeOriginalFileAnnotationLink(OriginalFileAnnotationLink 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)
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 OriginalFile newInstance()
public OriginalFile 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)