01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/help/tags/sakai_2-4-1/help-api/src/java/org/sakaiproject/api/app/help/Category.java $
03: * $Id: Category.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.api.app.help;
21:
22: import java.util.Set;
23:
24: /**
25: * Category container.
26: * @version $Id: Category.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
27: */
28: public interface Category {
29: /**
30: * get name
31: * @return name
32: */
33: public String getName();
34:
35: /**
36: * set name
37: * @param name
38: */
39: public void setName(String name);
40:
41: /**
42: * get resources
43: * @return resources
44: */
45: public Set getResources();
46:
47: /**
48: * set resources
49: * @param resources
50: */
51: public void setResources(Set resources);
52:
53: /**
54: * get categories
55: * @return set of categories
56: */
57: public Set getCategories();
58:
59: /**
60: * set categories
61: * @param categories
62: */
63: public void setCategories(Set categories);
64:
65: /**
66: * get parent category
67: * @return category
68: */
69: public Category getParent();
70:
71: /**
72: * set parent category
73: * @param cat
74: */
75: public void setParent(Category cat);
76:
77: }
|