1 package org.hibernate.test.legacy; 3 4 public class D { 5 private Long id; 6 private float amount; 7 private A reverse; 8 public A inverse; 9 10 public D() { 11 setAmount(100.0f); 13 getAmount(); 14 } 15 19 public float getAmount() { 20 return amount; 21 } 22 23 27 public Long getId() { 28 return id; 29 } 30 31 35 public void setAmount(float amount) { 36 this.amount = amount; 37 } 38 39 43 public void setId(Long id) { 44 this.id = id; 45 } 46 47 public A getReverse() { 48 return reverse; 49 } 50 51 public void setReverse(A a) { 52 reverse = a; 53 } 54 55 } 56 57 58 59 60 61 62 | Popular Tags |