| com.db4o.ext.StoredClass
All known Subclasses: com.db4o.internal.StoredClassImpl, com.db4o.internal.ClassMetadata,
StoredClass | public interface StoredClass (Code) | | the internal representation of a stored class.
|
getIDs | public long[] getIDs()(Code) | | returns an array of IDs of all stored object instances of this stored class.
|
getName | public String getName()(Code) | | returns the name of this stored class.
|
getParentStoredClass | public StoredClass getParentStoredClass()(Code) | | returns the StoredClass for the parent of the class, this StoredClass represents.
|
getStoredFields | public StoredField[] getStoredFields()(Code) | | returns all stored fields of this stored class.
|
hasClassIndex | public boolean hasClassIndex()(Code) | | returns true if this StoredClass has a class index.
|
rename | public void rename(String name)(Code) | | renames this stored class.
After renaming one or multiple classes the ObjectContainer has
to be closed and reopened to allow internal caches to be refreshed.
.NET: As the name you should provide [Classname, Assemblyname]
Parameters: name - the new name |
storedField | public StoredField storedField(String name, Object type)(Code) | | returns an existing stored field of this stored class.
Parameters: name - the name of the field Parameters: type - the type of the field. There are four possibilities how to supply the type: - a Class object. (.NET: a Type object) - a fully qualified classname. - any object to be used as a template.
- null, if the first found field should be returned. the StoredField |
|
|