com.db4o.config
Interface  ObjectField
- public interface ObjectField
configuration interface for fields of 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");
 ObjectField of = oc.objectField("fieldName");
 of.rename("newFieldName");
 of.queryEvaluation(false);
 
| Method Summary | 
|  void | objectOnActivate(java.lang.String methodName,
                 java.lang.String[] parameterFieldNames,
                 java.lang.String resultToField)specifies a method of the parent class to be called upon activation.
 | 
|  void | queryEvaluation(boolean flag)toggles query evaluation.
 | 
|  void | rename(java.lang.String newName)renames a field of a stored class.
 | 
 
objectOnActivate
public void objectOnActivate(java.lang.String methodName,
                             java.lang.String[] parameterFieldNames,
                             java.lang.String resultToField)
- specifies a method of the parent class to be called upon activation.- 
- Parameters:
- methodName- the name of the method.
- parameterFieldNames- a String array of field names of the parent class
 to read parameters for the execution from.
- resultToField- the fieldname of the field that is to be set to
 the result of the method execution.
 
queryEvaluation
public void queryEvaluation(boolean flag)
- toggles query evaluation.
 
 
 All fields are evaluated by default. Use this method to turn query
 evaluation of for specific fields.
 
 
- 
- Parameters:
- flag- specify- falseto ignore this field during query evaluation.
 
rename
public void rename(java.lang.String newName)
- renames a field of a stored class.
 
 
 Use this method to refactor classes.
- 
- Parameters:
- newName- the new fieldname.