KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > gjt > jclasslib > browser > config > window > CategoryHolder


1 /*
2     This library is free software; you can redistribute it and/or
3     modify it under the terms of the GNU General Public
4     License as published by the Free Software Foundation; either
5     version 2 of the license, or (at your option) any later version.
6 */

7
8 package org.gjt.jclasslib.browser.config.window;
9
10 /**
11     Browser path component for a node category.
12
13     @author <a HREF="mailto:jclasslib@ej-technologies.com">Ingo Kegel</a>
14     @version $Revision: 1.1 $ $Date: 2003/08/18 08:10:15 $
15 */

16 public class CategoryHolder implements PathComponent {
17
18     private String JavaDoc category;
19
20     /**
21      * Constructor.
22      * @param category the category.
23      */

24     public CategoryHolder(String JavaDoc category) {
25         this.category = category;
26     }
27
28     /**
29      * Constructor.
30      */

31     public CategoryHolder() {
32     }
33
34     /**
35      * Get the category.
36      * @return the category.
37      */

38     public String JavaDoc getCategory() {
39         return category;
40     }
41
42     /**
43      * Set the category.
44      * @param category the category.
45      */

46     public void setCategory(String JavaDoc category) {
47         this.category = category;
48     }
49 }
50
Popular Tags