01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/help/tags/sakai_2-4-1/help-component-shared/src/java/org/sakaiproject/component/app/help/model/TableOfContentsBean.java $
03: * $Id: TableOfContentsBean.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.component.app.help.model;
21:
22: import java.util.HashSet;
23: import java.util.Set;
24:
25: import org.sakaiproject.api.app.help.TableOfContents;
26:
27: /**
28: * table of contents bean
29: * @version $Id: TableOfContentsBean.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
30: *
31: */
32: public class TableOfContentsBean implements TableOfContents {
33:
34: private String name;
35: private Set categories = new HashSet();
36:
37: /**
38: * @see org.sakaiproject.api.app.help.TableOfContents#getName()
39: */
40: public String getName() {
41: return name;
42: }
43:
44: /**
45: * @see org.sakaiproject.api.app.help.TableOfContents#setName(java.lang.String)
46: */
47: public void setName(String name) {
48: this .name = name;
49:
50: }
51:
52: /**
53: * @see org.sakaiproject.api.app.help.TableOfContents#getCategories()
54: */
55: public Set getCategories() {
56: return categories;
57: }
58:
59: /**
60: * @see org.sakaiproject.api.app.help.TableOfContents#setCategories(java.util.Set)
61: */
62: public void setCategories(Set categories) {
63: this.categories = categories;
64: }
65:
66: }
|