KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Radio.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 Radio {
8     private Integer JavaDoc id;
9     private String JavaDoc frequency;
10
11     public Integer JavaDoc getId() {
12         return id;
13     }
14
15     public void setId(Integer JavaDoc id) {
16         this.id = id;
17     }
18
19     public String JavaDoc getFrequency() {
20         return frequency;
21     }
22
23     public void setFrequency(String JavaDoc frequency) {
24         this.frequency = frequency;
25     }
26 }
27
Popular Tags