KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > id > Plane


1 //$Id: Plane.java,v 1.2 2005/02/12 07:27:26 steveebersole Exp $
2
package org.hibernate.test.id;
3
4 /**
5  * @author Emmanuel Bernard
6  */

7 public class Plane {
8     private Long JavaDoc id;
9     private int nbrOfSeats;
10
11     public Long JavaDoc getId() {
12         return id;
13     }
14
15     public void setId(Long JavaDoc id) {
16         this.id = id;
17     }
18
19     public int getNbrOfSeats() {
20         return nbrOfSeats;
21     }
22
23     public void setNbrOfSeats(int nbrOfSeats) {
24         this.nbrOfSeats = nbrOfSeats;
25     }
26 }
27
Popular Tags