KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > hql > Vehicle


1 // $Id: Vehicle.java,v 1.1 2005/06/08 18:23:44 steveebersole Exp $
2
package org.hibernate.test.hql;
3
4 /**
5  * Implementation of Vehicle.
6  *
7  * @author Steve Ebersole
8  */

9 public abstract class Vehicle {
10     private Long JavaDoc id;
11     private String JavaDoc vin;
12     private String JavaDoc owner;
13
14     public String JavaDoc getVin() {
15         return vin;
16     }
17
18     public void setVin(String JavaDoc vin) {
19         this.vin = vin;
20     }
21
22     public String JavaDoc getOwner() {
23         return owner;
24     }
25
26     public void setOwner(String JavaDoc owner) {
27         this.owner = owner;
28     }
29 }
30
Popular Tags