01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/site-manage/tags/sakai_2-4-1/site-manage-impl/impl/src/java/org/sakaiproject/sitemanage/impl/SectionFieldImpl.java $
03: * $Id: SectionFieldImpl.java 22878 2007-03-19 02:37:51Z daisyf@stanford.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2007 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.sitemanage.impl;
21:
22: import org.sakaiproject.sitemanage.api.SectionField;
23:
24: public class SectionFieldImpl implements SectionField {
25: protected String labelKey;
26: protected String value;
27: protected int maxSize;
28:
29: public SectionFieldImpl() {
30: }
31:
32: public SectionFieldImpl(String labelKey, String value, int maxSize) {
33: this .labelKey = labelKey;
34: this .value = value;
35: this .maxSize = maxSize;
36: }
37:
38: public String getLabelKey() {
39: return labelKey;
40: }
41:
42: public void setLabelKey(String labelKey) {
43: this .labelKey = labelKey;
44: }
45:
46: public int getMaxSize() {
47: return maxSize;
48: }
49:
50: public void setMaxSize(int maxSize) {
51: this .maxSize = maxSize;
52: }
53:
54: public String getValue() {
55: return value;
56: }
57:
58: public void setValue(String value) {
59: this.value = value;
60: }
61:
62: }
|