KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > ejb > test > Wallet


1 //$Id: Wallet.java,v 1.1 2005/07/29 22:04:28 epbernard Exp $
2
package org.hibernate.ejb.test;
3
4 import javax.persistence.Entity;
5 import javax.persistence.Id;
6
7 /**
8  * @author Emmanuel Bernard
9  */

10 @Entity
11 public class Wallet {
12     private String JavaDoc serial;
13     private String JavaDoc model;
14     private String JavaDoc brand;
15
16     @Id
17     public String JavaDoc getSerial() {
18         return serial;
19     }
20
21     public void setSerial(String JavaDoc serial) {
22         this.serial = serial;
23     }
24
25     public String JavaDoc getModel() {
26         return model;
27     }
28
29     public void setModel(String JavaDoc model) {
30         this.model = model;
31     }
32
33     public String JavaDoc getBrand() {
34         return brand;
35     }
36
37     public void setBrand(String JavaDoc brand) {
38         this.brand = brand;
39     }
40 }
41
Popular Tags