KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > subselect > Alien


1 //$Id: Alien.java,v 1.2 2005/06/19 02:01:05 oneovthafew Exp $
2
package org.hibernate.test.subselect;
3
4 /**
5  * @author Gavin King
6  */

7 public class Alien {
8     private Long JavaDoc id;
9     private String JavaDoc identity;
10     private String JavaDoc planet;
11     private String JavaDoc species;
12     
13     public void setIdentity(String JavaDoc identity) {
14         this.identity = identity;
15     }
16     public String JavaDoc getIdentity() {
17         return identity;
18     }
19     public void setSpecies(String JavaDoc species) {
20         this.species = species;
21     }
22     public String JavaDoc getSpecies() {
23         return species;
24     }
25     public void setPlanet(String JavaDoc planet) {
26         this.planet = planet;
27     }
28     public String JavaDoc getPlanet() {
29         return planet;
30     }
31     public void setId(Long JavaDoc id) {
32         this.id = id;
33     }
34     public Long JavaDoc getId() {
35         return id;
36     }
37 }
38
Popular Tags