@Entity
@ClassBridge(name="details",
impl=DetailsFieldBridge.class,
index=UN_TOKENIZED,
store=NO)
public abstract class TextAnnotation
extends Annotation
implements java.io.Serializable, IObject, IMutable
Annotation.Details| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENT_FILTER |
static java.util.Set<java.lang.String> |
FIELDS |
static java.lang.String |
GROUP_FILTER |
static java.lang.String |
OWNER_FILTER |
static java.lang.String |
PERMS_FILTER |
protected java.lang.String |
textValue |
static java.lang.String |
TEXTVALUE |
_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 |
|---|---|
|
TextAnnotation() |
protected |
TextAnnotation(java.lang.Long id) |
|
TextAnnotation(java.lang.Long id,
boolean loaded)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptFilter(Filter __filter) |
java.util.Set<java.lang.String> |
fields()
returns a Set of field names that belong to this class
|
java.lang.String |
getTextValue()
Simple field ome.model.annotations.TextAnnotation.textValue (java.lang.String)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
void |
putAt(java.lang.String field,
java.lang.Object value)
stores a value in this instance.
|
java.lang.Object |
retrieve(java.lang.String field)
retrieves a value from this instance.
|
void |
setTextValue(java.lang.String textValue) |
protected void |
throwNullCollectionException(java.lang.String propertyName) |
java.lang.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 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
protected java.lang.String textValue
public static final java.lang.String TEXTVALUE
public static final java.util.Set<java.lang.String> FIELDS
public TextAnnotation()
protected TextAnnotation(java.lang.Long id)
public TextAnnotation(java.lang.Long id,
boolean loaded)
@Field(index=TOKENIZED) @Field(index=TOKENIZED,analyzer=@Analyzer(impl=ConfiguredAnalyzer.class),name="combined_fields") public java.lang.String getTextValue()
public void setTextValue(java.lang.String textValue)
public boolean isValid()
IObjectValidation.isValid()isValid in interface IObjectisValid in class Annotationpublic Validation validate()
IObjectValidation object.validate in interface IObjectvalidate in class Annotationpublic boolean acceptFilter(Filter __filter)
acceptFilter in interface FilterableacceptFilter in class Annotationpublic java.lang.String toString()
toString in class Annotationpublic java.util.Set<java.lang.String> fields()
IObjectfields in interface IObjectfields in class Annotationpublic java.lang.Object retrieve(java.lang.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 Annotationpublic void putAt(java.lang.String field,
java.lang.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 Annotationfield - Field namevalue - Any object to be stored.public void unload()
IObjectunload in interface IObjectunload in class Annotationprotected void throwNullCollectionException(java.lang.String propertyName)
throwNullCollectionException in class Annotation