@Entity @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public abstract class BasicAnnotation extends Annotation implements Serializable, IObject, IMutable
Annotation.Details
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_FILTER |
static Set<String> |
FIELDS |
static String |
GROUP_FILTER |
static String |
OWNER_FILTER |
static String |
PERMS_FILTER |
_dynamicFields, _loaded, annotationLinks, ANNOTATIONLINKS, ANNOTATIONLINKSCOUNTPEROWNER, description, DESCRIPTION, details, DETAILS, EVENT_FILTER_ANNOTATIONLINKS, GROUP_FILTER_ANNOTATIONLINKS, id, ID, name, NAME, ns, NS, OWNER_FILTER_ANNOTATIONLINKS, PERMS_FILTER_ANNOTATIONLINKS, version, VERSION
Modifier | Constructor and Description |
---|---|
|
BasicAnnotation() |
protected |
BasicAnnotation(Long id) |
|
BasicAnnotation(Long id,
boolean loaded)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFilter(Filter __filter) |
Set<String> |
fields()
returns a Set of field names that belong to this class
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
protected void |
throwNullCollectionException(String propertyName) |
String |
toString() |
void |
unload()
set the loaded field to false, and set all non-ID fields to null.
|
Validation |
validate()
calls the class-specific validator for this instance and returns the
Validation object. |
addAnnotationAnnotationLink, addAnnotationAnnotationLink, addAnnotationAnnotationLinkSet, clearAnnotationLinks, collectAnnotationLinks, eachLinkedAnnotation, errorIfUnloaded, findAnnotationAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getDescription, getDetails, getGraphHolder, getId, getName, getNs, getVersion, isLoaded, iterateAnnotationLinks, linkAnnotation, linkedAnnotationIterator, linkedAnnotationList, removeAnnotationAnnotationLink, removeAnnotationAnnotationLink, removeAnnotationAnnotationLinkSet, setAnnotationLinks, setAnnotationLinksCountPerOwner, setDescription, setDetails, setId, setName, setNs, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unmodifiableAnnotationLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
public static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
public BasicAnnotation()
protected BasicAnnotation(Long id)
public BasicAnnotation(Long id, boolean loaded)
public boolean isValid()
IObject
Validation.isValid()
isValid
in interface IObject
isValid
in class Annotation
public Validation validate()
IObject
Validation
object.validate
in interface IObject
validate
in class Annotation
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class Annotation
public String toString()
toString
in class Annotation
public Set<String> fields()
IObject
fields
in interface IObject
fields
in class Annotation
public Object retrieve(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)
retrieve
in interface IObject
retrieve
in class Annotation
public void putAt(String field, 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.putAt
in interface IObject
putAt
in class Annotation
field
- Field namevalue
- Any object to be stored.public void unload()
IObject
unload
in interface IObject
unload
in class Annotation
protected void throwNullCollectionException(String propertyName)
throwNullCollectionException
in class Annotation
Version: 5.4.0-ice35-b74
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.