1 package attrib4j.examples;
2
3 import java.util.List;
4
5 /***
6 *
7 * A class used for testing that is annotated with attributes. Not yet
8 * sure if any of these attributes really make practical sence.
9 *
10 * @author Tycho Brahe
11 * @Debug(true)
12 * @attrib4j.examples.attributes.Trace("Test",1)
13 */
14 public class ExampleClass extends AbstractDeposit {
15 /***
16 * @attrib4j.examples.attributes.Persistent("VARCHAR(30)")
17 */
18 public String name;
19
20 /***
21 * @attrib4j.examples.attributes.Persistent("NUMBER(24)")
22 */
23 </* package *//package-summary/html">color="#329900"> package *//package-summary.html">font color="#329900">/* package *//package-summary.html">color="#329900"> package */
24 int age;
25
26 /***
27 * @attrib4j.examples.attributes.Persistent("attrib4j.examples.attributes.ListAttributes")
28 */
29 protected List children;
30
31 /***
32 * @attrib4j.examples.attributes.Persistent("NUMBER(32)")
33 */
34 private double annualSalary;
35
36 /***
37 * @attrib4j.examples.attributes.Debug(false)
38 */
39 public void deposit(Object money, Object account) {
40
41 }
42
43 /***
44 * @attrib4j.examples.attributes.Debug(true)
45 */
46 public void deposit(int accountNbr, long amount) {
47 }
48
49 }
This page was automatically generated by Maven