@Entity @Indexed(index="FullText") @ClassBridge(name="details", impl=DetailsFieldBridge.class, index=UN_TOKENIZED, store=NO) public class BooleanAnnotation extends BasicAnnotation implements java.io.Serializable, IObject, IMutable
Annotation.Details
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
boolValue |
static java.lang.String |
BOOLVALUE |
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 |
_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 |
---|---|
|
BooleanAnnotation() |
protected |
BooleanAnnotation(java.lang.Long id) |
|
BooleanAnnotation(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.Boolean |
getBoolValue()
Simple field ome.model.annotations.BooleanAnnotation.boolValue (java.lang.Boolean)
|
boolean |
isValid()
calls the class-specific validator for this instance and returns the
value from
Validation.isValid() |
BooleanAnnotation |
newInstance() |
BooleanAnnotation |
proxy() |
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 |
setBoolValue(java.lang.Boolean boolValue) |
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, unmodifiableAnnotationLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, setVersion
getDetails, getGraphHolder, getId, isLoaded, setId
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
protected java.lang.Boolean boolValue
public static final java.lang.String BOOLVALUE
public static final java.util.Set<java.lang.String> FIELDS
public BooleanAnnotation()
protected BooleanAnnotation(java.lang.Long id)
public BooleanAnnotation(java.lang.Long id, boolean loaded)
public java.lang.Boolean getBoolValue()
public void setBoolValue(java.lang.Boolean boolValue)
public boolean isValid()
IObject
Validation.isValid()
isValid
in interface IObject
isValid
in class BasicAnnotation
public Validation validate()
IObject
Validation
object.validate
in interface IObject
validate
in class BasicAnnotation
public BooleanAnnotation newInstance()
public BooleanAnnotation proxy()
public boolean acceptFilter(Filter __filter)
acceptFilter
in interface Filterable
acceptFilter
in class BasicAnnotation
public java.lang.String toString()
toString
in class BasicAnnotation
public java.util.Set<java.lang.String> fields()
IObject
fields
in interface IObject
fields
in class BasicAnnotation
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)
retrieve
in interface IObject
retrieve
in class BasicAnnotation
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.putAt
in interface IObject
putAt
in class BasicAnnotation
field
- Field namevalue
- Any object to be stored.public void unload()
IObject
unload
in interface IObject
unload
in class BasicAnnotation
protected void throwNullCollectionException(java.lang.String propertyName)
throwNullCollectionException
in class BasicAnnotation