01: //$Id: Simple09.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 Simple09 {
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: // getter returns void -- will blow
25: public void getStringCol() {
26: }
27:
28: public void setStringCol(String stringCol) { /* this.stringCol = stringCol; */
29: }
30:
31: public long getIntCol() {
32: return intCol;
33: }
34:
35: public void setIntCol(long intCol) {
36: this.intCol = intCol;
37: }
38:
39: }
|