001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.core.bo;
017:
018: import java.util.LinkedHashMap;
019:
020: /**
021: * Business Object Attribute Entry Business Object
022: *
023: *
024: */
025: public class BusinessObjectAttributeEntry extends
026: PersistableBusinessObjectBase {
027:
028: private static final long serialVersionUID = 8136616401437024033L;
029: private String dictionaryBusinessObjectName;
030: private String attributeName;
031: private String attributeLabel;
032: private String attributeShortLabel;
033: private String attributeMaxLength;
034: private String attributeValidatingExpression;
035: private String attributeControlType;
036: private String attributeSummary;
037: private String attributeDescription;
038: private String attributeFormatterClassName;
039:
040: /**
041: * @return Returns the attributeControlType.
042: */
043: public String getAttributeControlType() {
044: return attributeControlType;
045: }
046:
047: /**
048: * @param attributeControlType The attributeControlType to set.
049: */
050: public void setAttributeControlType(String attributeControlType) {
051: this .attributeControlType = attributeControlType;
052: }
053:
054: /**
055: * @return Returns the attributeDescription.
056: */
057: public String getAttributeDescription() {
058: return attributeDescription;
059: }
060:
061: /**
062: * @param attributeDescription The attributeDescription to set.
063: */
064: public void setAttributeDescription(String attributeDescription) {
065: this .attributeDescription = attributeDescription;
066: }
067:
068: /**
069: * @return Returns the attributeFormatterClassName.
070: */
071: public String getAttributeFormatterClassName() {
072: return attributeFormatterClassName;
073: }
074:
075: /**
076: * @param attributeFormatterClassName The attributeFormatterClassName to set.
077: */
078: public void setAttributeFormatterClassName(
079: String attributeFormatterClassName) {
080: this .attributeFormatterClassName = attributeFormatterClassName;
081: }
082:
083: /**
084: * @return Returns the attributeLabel.
085: */
086: public String getAttributeLabel() {
087: return attributeLabel;
088: }
089:
090: /**
091: * @param attributeLabel The attributeLabel to set.
092: */
093: public void setAttributeLabel(String attributeLabel) {
094: this .attributeLabel = attributeLabel;
095: }
096:
097: /**
098: * @return Returns the attributeMaxLength.
099: */
100: public String getAttributeMaxLength() {
101: return attributeMaxLength;
102: }
103:
104: /**
105: * @param attributeMaxLength The attributeMaxLength to set.
106: */
107: public void setAttributeMaxLength(String attributeMaxLength) {
108: this .attributeMaxLength = attributeMaxLength;
109: }
110:
111: /**
112: * @return Returns the attributeName.
113: */
114: public String getAttributeName() {
115: return attributeName;
116: }
117:
118: /**
119: * @param attributeName The attributeName to set.
120: */
121: public void setAttributeName(String attributeName) {
122: this .attributeName = attributeName;
123: }
124:
125: /**
126: * @return Returns the attributeShortLabel.
127: */
128: public String getAttributeShortLabel() {
129: return attributeShortLabel;
130: }
131:
132: /**
133: * @param attributeShortLabel The attributeShortLabel to set.
134: */
135: public void setAttributeShortLabel(String attributeShortLabel) {
136: this .attributeShortLabel = attributeShortLabel;
137: }
138:
139: /**
140: * @return Returns the attributeSummary.
141: */
142: public String getAttributeSummary() {
143: return attributeSummary;
144: }
145:
146: /**
147: * @param attributeSummary The attributeSummary to set.
148: */
149: public void setAttributeSummary(String attributeSummary) {
150: this .attributeSummary = attributeSummary;
151: }
152:
153: /**
154: * @return Returns the attributeValidatingExpression.
155: */
156: public String getAttributeValidatingExpression() {
157: return attributeValidatingExpression;
158: }
159:
160: /**
161: * @param attributeValidatingExpression The attributeValidatingExpression to set.
162: */
163: public void setAttributeValidatingExpression(
164: String attributeValidatingExpression) {
165: this .attributeValidatingExpression = attributeValidatingExpression;
166: }
167:
168: /**
169: * @return Returns the businessObjectClass.
170: */
171: public String getDictionaryBusinessObjectName() {
172: return dictionaryBusinessObjectName;
173: }
174:
175: /**
176: * @param businessObjectClass The businessObjectClass to set.
177: */
178: public void setDictionaryBusinessObjectName(
179: String businessObjectClass) {
180: this .dictionaryBusinessObjectName = businessObjectClass;
181: }
182:
183: /**
184: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
185: */
186: protected LinkedHashMap toStringMapper() {
187: LinkedHashMap m = new LinkedHashMap();
188:
189: m.put("dictionaryBusinessObjectName",
190: getDictionaryBusinessObjectName());
191: m.put("attributeName", getAttributeName());
192:
193: return m;
194: }
195: }
|