<xml> </xml>

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