|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredField
the internal representation of a field on a stored class.
Method Summary | |
---|---|
void |
createIndex()
creates an index on this field at runtime. |
java.lang.Object |
get(java.lang.Object onObject)
returns the field value on the passed object. |
java.lang.String |
getName()
returns the name of the field. |
ReflectClass |
getStoredType()
returns the Class (Java) / Type (.NET) of the field. |
boolean |
hasIndex()
Returns whether this field has an index or not. |
boolean |
isArray()
returns true if the field is an array. |
void |
rename(java.lang.String name)
modifies the name of this stored field. |
void |
traverseValues(com.db4o.foundation.Visitor4 visitor)
specialized highspeed API to collect all values of a field for all instances of a class, if the field is indexed. |
Method Detail |
---|
void createIndex()
java.lang.Object get(java.lang.Object onObject)
java.lang.String getName()
ReflectClass getStoredType()
isArray()
to detect arrays.
boolean isArray()
void rename(java.lang.String name)
name
- the new namevoid traverseValues(com.db4o.foundation.Visitor4 visitor)
visitor
- the visitor to be called with each index value.boolean hasIndex()
|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |