1 package org.hibernate.test.legacy; 2 3 4 public class Result { 5 private String name; 6 private long amount; 7 private int count; 8 12 public long getAmount() { 13 return amount; 14 } 15 16 20 public int getCount() { 21 return count; 22 } 23 24 28 public String getName() { 29 return name; 30 } 31 32 36 public void setAmount(long amount) { 37 this.amount = amount; 38 } 39 40 44 public void setCount(int count) { 45 this.count = count; 46 } 47 48 52 public void setName(String name) { 53 this.name = name; 54 } 55 56 public Result(String n, long a, int c) { 57 name = n; 58 amount = a; 59 count = c; 60 } 61 } 62 | Popular Tags |