KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > cut > Transaction


1 //$Id: Transaction.java,v 1.1 2005/03/29 03:06:25 oneovthafew Exp $
2
package org.hibernate.test.cut;
3
4 /**
5  * @author Gavin King
6  */

7 public class Transaction {
8
9     private Long JavaDoc id;
10     private String JavaDoc description;
11     private MonetoryAmount value;
12     
13     public String JavaDoc getDescription() {
14         return description;
15     }
16     
17     public void setDescription(String JavaDoc description) {
18         this.description = description;
19     }
20     
21     public Long JavaDoc getId() {
22         return id;
23     }
24     
25     public void setId(Long JavaDoc id) {
26         this.id = id;
27     }
28     
29     public MonetoryAmount getValue() {
30         return value;
31     }
32     
33     public void setValue(MonetoryAmount value) {
34         this.value = value;
35     }
36
37 }
38
Popular Tags