01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.core.web.ui;
17:
18: import java.io.Serializable;
19:
20: /**
21: *
22: */
23: public class KeyLabelPair implements Serializable {
24: private static final long serialVersionUID = 6167007653464395634L;
25: public Object key;
26: public String label;
27:
28: public KeyLabelPair() {
29: }
30:
31: public KeyLabelPair(Object key, String label) {
32: this .key = key;
33: this .label = label;
34: }
35:
36: public Object getKey() {
37: return key;
38: }
39:
40: public String getLabel() {
41: return label;
42: }
43:
44: public void setLabel(String label) {
45: this .label = label;
46: }
47:
48: public void setKey(Object key) {
49: this .key = key;
50: }
51: }
52:
53: /*
54: * Copyright 2003 The Trustees of Indiana University. All rights reserved. This file is part of the EDEN software package. For
55: * license information, see the LICENSE file in the top level directory of the EDEN source distribution.
56: */
|