001: /*
002: * Copyright 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.module.gl.bo;
017:
018: import java.util.LinkedHashMap;
019:
020: import org.kuali.core.bo.TransientBusinessObjectBase;
021: import org.kuali.core.util.KualiDecimal;
022: import org.kuali.module.gl.util.OJBUtility;
023:
024: /**
025: * This class represents the transient balance inquiry attributes which is typically used as a "dummy business object"
026: */
027: public class TransientBalanceInquiryAttributes extends
028: TransientBusinessObjectBase {
029:
030: private String pendingEntryOption;
031: private String consolidationOption;
032: private String amountViewOption;
033: private String costShareOption;
034: private String linkButtonOption;
035: private KualiDecimal genericAmount;
036: private String genericText;
037:
038: private String consolidationObjectCode;
039: private String reportingSortCode;
040: private String consolidationReportingSortCode;
041: private String levelObjectCode;
042:
043: /**
044: * Constructs a DummyBusinessObject.java.
045: */
046: public TransientBalanceInquiryAttributes() {
047: super ();
048: this .pendingEntryOption = "";
049: this .consolidationOption = "";
050: this .genericAmount = KualiDecimal.ZERO;
051: }
052:
053: /**
054: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
055: */
056: protected LinkedHashMap toStringMapper() {
057: return (LinkedHashMap) OJBUtility.buildPropertyMap(this );
058: }
059:
060: /**
061: * Gets the pendingEntryOption attribute.
062: *
063: * @return Returns the pendingEntryOption.
064: */
065: public String getPendingEntryOption() {
066: return pendingEntryOption;
067: }
068:
069: /**
070: * Sets the pendingEntryOption attribute value.
071: *
072: * @param pendingEntryOption The pendingEntryOption to set.
073: */
074: public void setPendingEntryOption(String pendingEntryOption) {
075: this .pendingEntryOption = pendingEntryOption;
076: }
077:
078: /**
079: * Gets the consolidationOption attribute.
080: *
081: * @return Returns the consolidationOption.
082: */
083: public String getConsolidationOption() {
084: return consolidationOption;
085: }
086:
087: /**
088: * Sets the consolidationOption attribute value.
089: *
090: * @param consolidationOption The consolidationOption to set.
091: */
092: public void setConsolidationOption(String consolidationOption) {
093: this .consolidationOption = consolidationOption;
094: }
095:
096: /**
097: * Gets the linkButtonOption attribute.
098: *
099: * @return Returns the linkButtonOption.
100: */
101: public String getLinkButtonOption() {
102: return linkButtonOption;
103: }
104:
105: /**
106: * Sets the linkButtonOption attribute value.
107: *
108: * @param linkButtonOption The linkButtonOption to set.
109: */
110: public void setLinkButtonOption(String linkButtonOption) {
111: this .linkButtonOption = linkButtonOption;
112: }
113:
114: /**
115: * Gets the genericAmount attribute.
116: *
117: * @return Returns the genericAmount.
118: */
119: public KualiDecimal getGenericAmount() {
120: return genericAmount;
121: }
122:
123: /**
124: * Sets the genericAmount attribute value.
125: *
126: * @param genericAmount The genericDecimal to set.
127: */
128: public void setGenericAmount(KualiDecimal genericAmount) {
129: this .genericAmount = genericAmount;
130: }
131:
132: /**
133: * Gets the amountViewOption attribute.
134: *
135: * @return Returns the amountViewOption.
136: */
137: public String getAmountViewOption() {
138: return amountViewOption;
139: }
140:
141: /**
142: * Sets the amountViewOption attribute value.
143: *
144: * @param amountViewOption The amountViewOption to set.
145: */
146: public void setAmountViewOption(String amountViewOption) {
147: this .amountViewOption = amountViewOption;
148: }
149:
150: /**
151: * Gets the costShareOption attribute.
152: *
153: * @return Returns the costShareOption.
154: */
155: public String getCostShareOption() {
156: return costShareOption;
157: }
158:
159: /**
160: * Sets the costShareOption attribute value.
161: *
162: * @param costShareOption The costShareOption to set.
163: */
164: public void setCostShareOption(String costShareOption) {
165: this .costShareOption = costShareOption;
166: }
167:
168: /**
169: * Gets the consolidationObjectCode attribute.
170: *
171: * @return Returns the consolidationObjectCode.
172: */
173: public String getConsolidationObjectCode() {
174: return consolidationObjectCode;
175: }
176:
177: /**
178: * Sets the consolidationObjectCode attribute value.
179: *
180: * @param consolidationObjectCode The consolidationObjectCode to set.
181: */
182: public void setConsolidationObjectCode(
183: String consolidationObjectCode) {
184: this .consolidationObjectCode = consolidationObjectCode;
185: }
186:
187: /**
188: * Gets the consolidationReportingSortCode attribute.
189: *
190: * @return Returns the consolidationReportingSortCode.
191: */
192: public String getConsolidationReportingSortCode() {
193: return consolidationReportingSortCode;
194: }
195:
196: /**
197: * Sets the consolidationReportingSortCode attribute value.
198: *
199: * @param consolidationReportingSortCode The consolidationReportingSortCode to set.
200: */
201: public void setConsolidationReportingSortCode(
202: String consolidationReportingSortCode) {
203: this .consolidationReportingSortCode = consolidationReportingSortCode;
204: }
205:
206: /**
207: * Gets the reportingSortCode attribute.
208: *
209: * @return Returns the reportingSortCode.
210: */
211: public String getReportingSortCode() {
212: return reportingSortCode;
213: }
214:
215: /**
216: * Sets the reportingSortCode attribute value.
217: *
218: * @param reportingSortCode The reportingSortCode to set.
219: */
220: public void setReportingSortCode(String reportingSortCode) {
221: this .reportingSortCode = reportingSortCode;
222: }
223:
224: /**
225: * Gets the levelObjectCode attribute.
226: *
227: * @return Returns the levelObjectCode.
228: */
229: public String getLevelObjectCode() {
230: return levelObjectCode;
231: }
232:
233: /**
234: * Sets the levelObjectCode attribute value.
235: *
236: * @param levelObjectCode The levelObjectCode to set.
237: */
238: public void setLevelObjectCode(String levelObjectCode) {
239: this .levelObjectCode = levelObjectCode;
240: }
241:
242: /**
243: * Gets the genericText attribute.
244: *
245: * @return Returns the genericText.
246: */
247: public String getGenericText() {
248: return genericText;
249: }
250:
251: /**
252: * Sets the genericText attribute value.
253: *
254: * @param genericText The genericText to set.
255: */
256: public void setGenericText(String genericText) {
257: this.genericText = genericText;
258: }
259: }
|