1 package ejava.examples.orm.core.mapped; 2 3 /** 4 * This class demonstrates the use of SEQUENCE generator strategy using 5 * descriptors. 6 */ 7 public class Fan { 8 private long id; 9 private String make; 10 11 public Fan() {} 12 public Fan(long id) { this.id = id; } 13 14 public long getId() { return id; } 15 16 public String getMake() { return make; } 17 public void setMake(String make) { 18 this.make = make; 19 } 20 21 public String toString() { 22 return super.toString() 23 + ", id=" + id 24 + ", make=" + make; 25 } 26 }