01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/util/LabelValue.java $
03: * $Id: LabelValue.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2005, 2006 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.tool.assessment.util;
21:
22: /**
23: * DOCUMENTATION PENDING
24: *
25: * @author $author$
26: * @version $Id: LabelValue.java 9273 2006-05-10 22:34:28Z daisyf@stanford.edu $
27: */
28: public class LabelValue {
29: private String label = "";
30: private String value = "";
31:
32: /**
33: * Creates a new LabelValue object.
34: *
35: * @param label DOCUMENTATION PENDING
36: * @param value DOCUMENTATION PENDING
37: */
38: public LabelValue(String label, String value) {
39: this .label = label;
40: this .value = value;
41: }
42:
43: /**
44: * DOCUMENTATION PENDING
45: *
46: * @param label DOCUMENTATION PENDING
47: */
48: public void setLabel(String label) {
49: this .label = label;
50: }
51:
52: /**
53: * DOCUMENTATION PENDING
54: *
55: * @return DOCUMENTATION PENDING
56: */
57: public String getLabel() {
58: return label;
59: }
60:
61: /**
62: * DOCUMENTATION PENDING
63: *
64: * @param value DOCUMENTATION PENDING
65: */
66: public void setValue(String value) {
67: this .value = value;
68: }
69:
70: /**
71: * DOCUMENTATION PENDING
72: *
73: * @return DOCUMENTATION PENDING
74: */
75: public String getValue() {
76: return value;
77: }
78: }
|