KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > utilities > hibernate > HibernateCounter


1 /*
2  * Shark Hibernate Counter - Open Wide
3  */

4
5 package org.enhydra.shark.utilities.hibernate;
6
7 import java.math.BigDecimal JavaDoc;
8
9 /**
10  * Simple POJO class for the counter fonction
11  *
12  * @author Vladislav Pernin
13  */

14 public class HibernateCounter {
15     
16     private String JavaDoc name;
17     private BigDecimal JavaDoc number;
18
19     
20     public HibernateCounter() {
21
22     }
23
24     public String JavaDoc getName() {
25         return name;
26     }
27
28     
29     public BigDecimal JavaDoc getNumber() {
30         return number;
31     }
32
33     
34     public void setName(String JavaDoc string) {
35         name = string;
36     }
37
38     
39     public void setNumber(BigDecimal JavaDoc decimal) {
40         number = decimal;
41     }
42
43 }
44
Popular Tags