db4o |

# ObjectField.cascadeOnActivate Method

sets cascaded activation behaviour.

void cascadeOnActivate(
bool flag
);

#### Parameters

flag
  whether activation is to be cascaded to the member object.

#### Remarks

sets cascaded activation behaviour.
Setting cascadeOnActivate to true will result in the activation of the object attribute stored in this field if the parent object is activated.
The default setting is false.

#### See Also

ObjectField Interface | com.db4o.config Namespace | activationDepth | cascadeOnActivate | activate | Using callbacks