oc.objectField("fFolders").cascadeOnUpdate(true); //$NON-NLS-1$
oc.objectField("fMarks").cascadeOnUpdate(true); //$NON-NLS-1$
}
private void configureNews() {
ObjectClass oc = Db4o.configure().objectClass(News.class);
// oc.maximumActivationDepth(1);
// oc.minimumActivationDepth(0);
oc.objectField("fTitle").cascadeOnActivate(true); //$NON-NLS-1$
/* Indexes */
oc.objectField("fLinkText").indexed(true); //$NON-NLS-1$
oc.objectField("fGuidValue").indexed(true); //$NON-NLS-1$
oc.objectField("fAttachments").cascadeOnUpdate(true); //$NON-NLS-1$
oc.objectField("fAuthor").cascadeOnUpdate(true); //$NON-NLS-1$
oc.objectField("fCategories").cascadeOnUpdate(true); //$NON-NLS-1$
oc.objectField("fSource").cascadeOnUpdate(true); //$NON-NLS-1$
oc.objectField("fLabel").cascadeOnUpdate(true); //$NON-NLS-1$
}