KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > stats > Continent


1 //$Id: Continent.java,v 1.1 2005/05/09 16:09:37 epbernard Exp $
2
package org.hibernate.test.stats;
3
4 import java.util.Set JavaDoc;
5
6 /**
7  * @author Emmanuel Bernard
8  */

9 public class Continent {
10     private Integer JavaDoc id;
11     private String JavaDoc name;
12     private Set JavaDoc countries;
13
14     public Integer JavaDoc getId() {
15         return id;
16     }
17
18     public void setId(Integer JavaDoc id) {
19         this.id = id;
20     }
21
22     public String JavaDoc getName() {
23         return name;
24     }
25
26     public void setName(String JavaDoc name) {
27         this.name = name;
28     }
29
30     public Set JavaDoc getCountries() {
31         return countries;
32     }
33
34     public void setCountries(Set JavaDoc countries) {
35         this.countries = countries;
36     }
37
38 }
39
Popular Tags