db4o |

# ObjectClass Methods

The methods of the ObjectClass interface are listed below. For a complete list of ObjectClass interface members, see the ObjectClass Members topic.

#### Public Instance Methods

callConstructor | advises db4o to try instantiating objects of this class with/without calling constructors.
cascadeOnActivate | sets cascaded activation behaviour.
cascadeOnDelete | sets cascaded delete behaviour.
cascadeOnUpdate | sets cascaded update behaviour.
compare | registers an attribute provider for special query behavior.
enableReplication | Must be called before databases are created or opened so that db4o will control versions and generate UUIDs for objects of this class, which is required for using replication.
generateUUIDs | generate UUIDs for stored objects of this class.
generateVersionNumbers | generate version numbers for stored objects of this class.
maximumActivationDepth | sets the maximum activation depth to the desired value.
minimumActivationDepth | sets the minimum activation depth to the desired value.
objectField | returns an ObjectField object to configure the specified field.
persistStaticFieldValues | turns on storing static field values for this class.
readAs | creates a temporary mapping of a persistent class to a different class.
rename | renames a stored class.
storeTransientFields | allows to specify if transient fields are to be stored.
translate | registers a translator for this class.
updateDepth | specifies the updateDepth for this class.

#### See Also

ObjectClass Interface | com.db4o.config Namespace