01: //$Id: Simple03.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 Simple03 {
10:
11: private long id;
12: private String stringCol;
13:
14: //private long intCol;
15:
16: @Column(autoGenerated=true)
17: public long getId() {
18: return id;
19: }
20:
21: public void setId(long id) {
22: this .id = id;
23: }
24:
25: public String getStringCol() {
26: return stringCol;
27: }
28:
29: public void setStringCol(String stringCol) {
30: this .stringCol = stringCol;
31: }
32:
33: // lacks int_col mapping, will blow
34: //public long getIntCol() { return intCol; }
35: //public void setIntCol(long intCol) { this.intCol = intCol; }
36:
37: }
|