sPearCat-Ready Superclass Template

Version 1.1 by David Avendasora on 2008/01/28 14:51
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

code
#if ($entity.packageName)
package $entity.superclassPackageName;
#end

import com.webobjects.foundation.;
#set ($useControl = "false")
#if (!$entity.sortedClassToManyRelationships.empty)
#set ($useControl = "true")
#elseif (!$entity.sortedFetchSpecs.empty)
#set ($useControl = "true")
#elseif (!$entity.isAbstract)
#set ($useControl = "true")
#elseif (!$entity.parentSet)
#set ($useControl = "true")
#end
#if ($useControl == "true")
import com.webobjects.eocontrol.
;
#end
#set ($useBigDecimal = "false")
#foreach ($attribute in $entity.sortedClassAttributes)
#if (!$attribute.inherited)
#if ($attribute.javaClassName == "BigDecimal") #set ($useBigDecimal = "true")#end
#end
#end
#if ($useBigDecimal == "true")
import java.math.BigDecimal;
#end
#if (!$entity.sortedClassToManyRelationships.empty)
import java.util.;
#end

/

  • Java Class $Unknown macro: entity.prefixClassNameWithOptionalPackage. Click on this message for details.
    .java generated for entity $Unknown macro: entity.name. Click on this message for details.

     #if ($entity.parentSet)
  • <p>
  • The entity parent is $Unknown macro: entity.parent.classNameWithDefault. Click on this message for details.
  • </p>
     #end
  • <p><b>
  • DO NOT EDIT.  Make changes to $Unknown macro: entity.classNameWithOptionalPackage. Click on this message for details.
    .java instead.
  • </b></p>
  • <p>
  • copyright $Unknown macro: copyrightYear. Click on this message for details.