public interface StoredClass
| Modifier and Type | Method and Description |
|---|---|
long[] |
getIDs()
returns an array of IDs of all stored object instances of this stored class.
|
java.lang.String |
getName()
returns the name of this stored class.
|
StoredClass |
getParentStoredClass()
returns the StoredClass for the parent of the class, this StoredClass represents.
|
StoredField[] |
getStoredFields()
returns all stored fields of this stored class.
|
boolean |
hasClassIndex()
returns true if this StoredClass has a class index.
|
int |
instanceCount()
Returns the number of instances of this class that have been persisted to the
database, as seen by the transaction (container) that produces this StoredClass
instance.
|
void |
rename(java.lang.String name)
renames this stored class.
|
StoredField |
storedField(java.lang.String name,
java.lang.Object type)
returns an existing stored field of this stored class.
|
java.lang.String getName()
long[] getIDs()
StoredClass getParentStoredClass()
StoredField[] getStoredFields()
boolean hasClassIndex()
void rename(java.lang.String name)
name - the new nameStoredField storedField(java.lang.String name, java.lang.Object type)
name - the name of the fieldtype - the type of the field.
There are four possibilities how to supply the type:StoredFieldint instanceCount()