Wiki source code of JBND Client-Side Entity.java Template
Version 1.1 by David Avendasora on 2008/03/06 15:31
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{code}} | ||
| 2 | |||
| 3 | // All custom logic should be stored in this class, so it is not affected by changes in the model, | ||
| 4 | // Which will change the abstract superclass instead | ||
| 5 | |||
| 6 | #if ($entity.superclassPackageName) | ||
| 7 | package $entity.superclassPackageName; | ||
| 8 | |||
| 9 | #end | ||
| 10 | import com.webobjects.foundation.*; | ||
| 11 | import com.webobjects.eocontrol.*; | ||
| 12 | import java.math.BigDecimal; | ||
| 13 | import java.util.*; | ||
| 14 | |||
| 15 | /** | ||
| 16 | * Concrete Enterprise object class, representing a "$entity.name" record, subclasses the abstract | ||
| 17 | * generated class that defines getter and setter methods. All custom logic should be | ||
| 18 | * stored in this class, so it is separated from getter / setter methods. | ||
| 19 | * Generated with EOGenerator. | ||
| 20 | */ | ||
| 21 | public class ${entity.classNameWithoutPackage} extends ${entity.prefixClassNameWithoutPackage} { | ||
| 22 | |||
| 23 | } | ||
| 24 | |||
| 25 | {{/code}} |