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/ContextBean.java $
03: * $Id: ContextBean.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.Context;
23:
24: /**
25: * context bean
26: * @version $Id: ContextBean.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
27: */
28: public class ContextBean implements Context {
29: private Long id;
30: private String name;
31:
32: /**
33: * get id
34: * @return Returns the id.
35: */
36: public Long getId() {
37: return id;
38: }
39:
40: /**
41: * set id
42: * @param id The id to set.
43: */
44: public void setId(Long id) {
45: this .id = id;
46: }
47:
48: /**
49: * @see org.sakaiproject.api.app.help.Context#getName()
50: */
51: public String getName() {
52: return name;
53: }
54:
55: /**
56: * @see org.sakaiproject.api.app.help.Context#setName(java.lang.String)
57: */
58: public void setName(String name) {
59: this.name = name;
60: }
61: }
|