KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > B


1 package org.hibernate.test.legacy;
2
3 import java.util.Map JavaDoc;
4
5
6 public class B extends A {
7     private int count;
8     private Map JavaDoc map;
9     private String JavaDoc bName = "B Name";
10     
11     public int getCount() {
12         return count;
13     }
14     
15     public void setCount(int count) {
16         this.count = count;
17     }
18     
19     public Map JavaDoc getMap() {
20         return map;
21     }
22
23     public void setMap(Map JavaDoc map) {
24         this.map = map;
25     }
26
27     public String JavaDoc getBName() {
28         return bName;
29     }
30
31     public void setBName(String JavaDoc name) {
32         bName = name;
33     }
34 }
35
36
37
38
39
40
41
Popular Tags