sPearCat-Ready Superclass Template
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.