KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > batchfetch > ProductLine


1 //$Id: ProductLine.java,v 1.1 2004/08/29 12:04:14 oneovthafew Exp $
2
package org.hibernate.test.batchfetch;
3
4 import java.util.HashSet JavaDoc;
5 import java.util.Set JavaDoc;
6
7 /**
8  * @author Gavin King
9  */

10 public class ProductLine {
11
12     private String JavaDoc id;
13     private String JavaDoc description;
14     private Set JavaDoc models = new HashSet JavaDoc();
15     
16     public String JavaDoc getDescription() {
17         return description;
18     }
19     public void setDescription(String JavaDoc description) {
20         this.description = description;
21     }
22     public String JavaDoc getId() {
23         return id;
24     }
25     public void setId(String JavaDoc id) {
26         this.id = id;
27     }
28     public Set JavaDoc getModels() {
29         return models;
30     }
31     public void setModels(Set JavaDoc models) {
32         this.models = models;
33     }
34 }
35
Popular Tags