KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > Part


1 //$Id: Part.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 /**
5  * @author Gavin King
6  */

7 public class Part {
8
9     private Long JavaDoc id;
10     private String JavaDoc description;
11     
12     public String JavaDoc getDescription() {
13         return description;
14     }
15
16     public Long JavaDoc getId() {
17         return id;
18     }
19
20     public void setDescription(String JavaDoc string) {
21         description = string;
22     }
23
24     public void setId(Long JavaDoc long1) {
25         id = long1;
26     }
27     
28     public static class SpecialPart extends Part {}
29
30 }
31
Popular Tags