| 
 | db4o v1.10 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
configuration interface for stored classes.
 
 Use the global Configuration object to configure db4o before opening an
 ObjectContainer.
 Example:
 
 Configuration config = Db4o.configure();
 ObjectClass oc = config.objectClass("package.className");
 oc.updateDepth(3);
 oc.minimumActivationDepth(3);
 
| Method Summary | |
|  java.lang.String | getName()returns the classname of the stored class. | 
|  void | maximumActivationDepth(int depth)sets the maximum activation depth to the desired value. | 
|  void | minimumActivationDepth(int depth)sets the minimum activation depth to the desired value. | 
|  ObjectField | objectField(java.lang.String fieldName)returns an ObjectFieldobject
 to configure the specified field. | 
|  void | objectOnActivate(java.lang.String methodName,
                 java.lang.String[] parameterFieldNames,
                 java.lang.String resultToField)specifies a method of this class to be called upon activation. | 
|  void | rename(java.lang.String newName)renames a stored class. | 
|  void | storeTransientFields(boolean flag)allows to specify if transient fields are to be stored. | 
|  void | translate(ObjectTranslator translator)registers a translator for this class. | 
|  void | updateDepth(int depth)allows to specify the updateDepth. | 
| Method Detail | 
public java.lang.String getName()
public void maximumActivationDepth(int depth)
depth - the desired maximum activation depthpublic void minimumActivationDepth(int depth)
depth - the desired minimum activation depthpublic ObjectField objectField(java.lang.String fieldName)
ObjectField object
 to configure the specified field.fieldName - the fieldname of the field to be configured.ObjectField
  object for configuration.
public void objectOnActivate(java.lang.String methodName,
                             java.lang.String[] parameterFieldNames,
                             java.lang.String resultToField)
methodName - the name of the method.parameterFieldNames - a String array of the fieldNames of this class
 to read parameters for the execution of the method from.resultToField - the fieldname of the field that is to be set to
 the result of the method execution.public void rename(java.lang.String newName)
newName - the new fully qualified classname.public void storeTransientFields(boolean flag)
false.flag -  public void translate(ObjectTranslator translator)
translator -  public void updateDepth(int depth)
depth - the depth of the desired update.| 
 | db4o v1.10 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||