@Entity
@Indexed(index="FullText")
@ClassBridge(name="details",
impl=DetailsFieldBridge.class,
index=UN_TOKENIZED,
store=NO)
public class DoubleAnnotation
extends NumericAnnotation
implements Serializable, IObject, IMutable
Annotation.Details| Modifier and Type | Field and Description |
|---|---|
protected Double |
doubleValue |
static String |
DOUBLEVALUE |
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 |
|---|---|
|
DoubleAnnotation() |
protected |
DoubleAnnotation(Long id) |
|
DoubleAnnotation(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
|
Double |
getDoubleValue()
Simple field ome.model.annotations.DoubleAnnotation.doubleValue (java.lang.Double)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
DoubleAnnotation |
newInstance() |
DoubleAnnotation |
proxy() |
void |
putAt(String field,
Object value)
stores a value in this instance.
|
Object |
retrieve(String field)
retrieves a value from this instance.
|
void |
setDoubleValue(Double doubleValue) |
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, unmodifiableAnnotationLinksclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, setVersiongetDetails, getGraphHolder, getId, isLoaded, setIdpublic static final String OWNER_FILTER
public static final String GROUP_FILTER
public static final String EVENT_FILTER
public static final String PERMS_FILTER
protected Double doubleValue
public static final String DOUBLEVALUE
public DoubleAnnotation()
protected DoubleAnnotation(Long id)
public DoubleAnnotation(Long id, boolean loaded)
@Field(index=UN_TOKENIZED) @Field(index=UN_TOKENIZED,name="combined_fields") public Double getDoubleValue()
public void setDoubleValue(Double doubleValue)
public boolean isValid()
IObjectValidation.isValid()isValid in interface IObjectisValid in class NumericAnnotationpublic Validation validate()
IObjectValidation object.validate in interface IObjectvalidate in class NumericAnnotationpublic DoubleAnnotation newInstance()
public DoubleAnnotation proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter in interface FilterableacceptFilter in class NumericAnnotationpublic String toString()
toString in class NumericAnnotationpublic Set<String> fields()
IObjectfields in interface IObjectfields in class NumericAnnotationpublic Object retrieve(String field)
IObjectfield
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 IObjectretrieve in class NumericAnnotationpublic void putAt(String field, Object value)
IObjectfield 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 IObjectputAt in class NumericAnnotationfield - Field namevalue - Any object to be stored.public void unload()
IObjectunload in interface IObjectunload in class NumericAnnotationprotected void throwNullCollectionException(String propertyName)
throwNullCollectionException in class NumericAnnotation
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.