/** * PUBLIC: * Add the name of field and the name of the method * that returns the value to be placed in said field * when the object is written to the database. * The method may take zero arguments, or it may * take a single argument of type * <code>org.eclipse.persistence.sessions.Session</code>. */ public void addFieldTransformation(String fieldName, String methodName) { addFieldTransformation(new DatabaseField(fieldName), methodName); }
/** * PUBLIC: * Add the name of field and the name of the method * that returns the value to be placed in said field * when the object is written to the database. * The method may take zero arguments, or it may * take a single argument of type * <code>org.eclipse.persistence.sessions.Session</code>. */ public void addFieldTransformation(String fieldName, String methodName) { this.addFieldTransformation(new DatabaseField(fieldName), methodName); }
/** * PUBLIC: * Add the name of field and the name of the method * that returns the value to be placed in said field * when the object is written to the database. * The method may take zero arguments, or it may * take a single argument of type * <code>org.eclipse.persistence.sessions.Session</code>. */ public void addFieldTransformation(String fieldName, String methodName) { addFieldTransformation(new DatabaseField(fieldName), methodName); }