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/GlossaryEntryBean.java $
03: * $Id: GlossaryEntryBean.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 org.sakaiproject.api.app.help.GlossaryEntry;
23:
24: /**
25: * glossary entry bean
26: * @version $Id: GlossaryEntryBean.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
27: */
28: public class GlossaryEntryBean implements GlossaryEntry {
29: private String term;
30: private String description;
31:
32: /**
33: * overloaded constructor
34: * @param term
35: * @param description
36: */
37: public GlossaryEntryBean(String term, String description) {
38: this .term = term;
39: this .description = description;
40: }
41:
42: /**
43: * @see org.sakaiproject.api.app.help.GlossaryEntry#getDescription()
44: */
45: public String getDescription() {
46: return description;
47: }
48:
49: /**
50: * @see org.sakaiproject.api.app.help.GlossaryEntry#getTerm()
51: */
52: public String getTerm() {
53: return term;
54: }
55:
56: /**
57: * @see org.sakaiproject.api.app.help.GlossaryEntry#setDescription(java.lang.String)
58: */
59: public void setDescription(String description) {
60: this .description = description;
61: }
62:
63: /**
64: * @see org.sakaiproject.api.app.help.GlossaryEntry#setTerm(java.lang.String)
65: */
66: public void setTerm(String term) {
67: this.term = term;
68: }
69: }
|