KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.hibernate.test.legacy;
2
3 import java.util.Collection JavaDoc;
4
5 /**
6  * @author Administrator
7  */

8 public class Assignable {
9     private String JavaDoc id;
10     private Collection JavaDoc categories;
11
12     public Collection JavaDoc getCategories() {
13         return categories;
14     }
15
16     public String JavaDoc getId() {
17         return id;
18     }
19
20     public void setCategories(Collection JavaDoc collection) {
21         categories = collection;
22     }
23
24     public void setId(String JavaDoc string) {
25         id = string;
26     }
27
28 }
29
Popular Tags