#if ($entity.packageName)
package $entity.packageName;

import org.apache.log4j.Logger;

import com.webobjects.eocontrol.EOEditingContext;

public class ${entity.classNameWithoutPackage} extends ${entity.prefixClassNameWithOptionalPackage} {

	private static Logger log = Logger.getLogger(${entity.classNameWithoutPackage}.class);

	public ${entity.classNameWithoutPackage}() {
		// Don't do anything here! All initial object setup must 
		// be done in the awakeFromInsertion(EOEditingContext) method.

	public void awakeFromInsertion(EOEditingContext ec) {
		* All attributes you set here should be wrapped in a if(attribute == null) conditional, otherwise
		* many bad things can happen as new instances are copied back from the java client and inserted into
		* the server-side editing context!