01: //$Id: Simple10.java 7 2007-08-17 19:32:18Z jcamaia $
02:
03: package net.sf.persist.tests.common;
04:
05: import net.sf.persist.annotations.Column;
06: import net.sf.persist.annotations.Table;
07:
08: @Table(name="simple")
09: public class Simple10 {
10:
11: private long id;
12: private String stringCol;
13: private long intCol;
14:
15: @Column(autoGenerated=true)
16: public long getId() {
17: return id;
18: }
19:
20: public void setId(long id) {
21: this .id = id;
22: }
23:
24: // setter has no parameter -- will blow
25: public String getStringCol() {
26: return stringCol;
27: }
28:
29: public void setStringCol() {
30: }
31:
32: public long getIntCol() {
33: return intCol;
34: }
35:
36: public void setIntCol(long intCol) {
37: this.intCol = intCol;
38: }
39:
40: }
|