001: /*
002: * Copyright 2006-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:
017: package org.kuali.module.kra.routingform.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022: import org.kuali.core.util.KualiInteger;
023: import org.kuali.kfs.KFSPropertyConstants;
024:
025: /**
026: *
027: */
028: public class RoutingFormOtherCostShare extends
029: PersistableBusinessObjectBase {
030:
031: private Integer routingFormCostShareSequenceNumber;
032: private String documentNumber;
033: private String routingFormCostShareSourceName;
034: private KualiInteger routingFormCostShareAmount;
035:
036: /**
037: * Default constructor.
038: */
039: public RoutingFormOtherCostShare() {
040:
041: }
042:
043: /**
044: * Gets the routingFormCostShareSequenceNumber attribute.
045: *
046: * @return Returns the routingFormCostShareSequenceNumber
047: */
048: public Integer getRoutingFormCostShareSequenceNumber() {
049: return routingFormCostShareSequenceNumber;
050: }
051:
052: /**
053: * Sets the routingFormCostShareSequenceNumber attribute.
054: *
055: * @param routingFormCostShareSequenceNumber The routingFormCostShareSequenceNumber to set.
056: */
057: public void setRoutingFormCostShareSequenceNumber(
058: Integer routingFormCostShareSequenceNumber) {
059: this .routingFormCostShareSequenceNumber = routingFormCostShareSequenceNumber;
060: }
061:
062: /**
063: * Gets the documentNumber attribute.
064: *
065: * @return Returns the documentNumber
066: */
067: public String getDocumentNumber() {
068: return documentNumber;
069: }
070:
071: /**
072: * Sets the documentNumber attribute.
073: *
074: * @param documentNumber The documentNumber to set.
075: */
076: public void setDocumentNumber(String documentNumber) {
077: this .documentNumber = documentNumber;
078: }
079:
080: /**
081: * Gets the routingFormCostShareSourceName attribute.
082: *
083: * @return Returns the routingFormCostShareSourceName
084: */
085: public String getRoutingFormCostShareSourceName() {
086: return routingFormCostShareSourceName;
087: }
088:
089: /**
090: * Sets the routingFormCostShareSourceName attribute.
091: *
092: * @param routingFormCostShareSourceName The routingFormCostShareSourceName to set.
093: */
094: public void setRoutingFormCostShareSourceName(
095: String routingFormCostShareSourceName) {
096: this .routingFormCostShareSourceName = routingFormCostShareSourceName;
097: }
098:
099: /**
100: * Gets the routingFormCostShareAmount attribute.
101: *
102: * @return Returns the routingFormCostShareAmount
103: */
104: public KualiInteger getRoutingFormCostShareAmount() {
105: return routingFormCostShareAmount;
106: }
107:
108: /**
109: * Sets the routingFormCostShareAmount attribute.
110: *
111: * @param routingFormCostShareAmount The routingFormCostShareAmount to set.
112: */
113: public void setRoutingFormCostShareAmount(
114: KualiInteger routingFormCostShareAmount) {
115: this .routingFormCostShareAmount = routingFormCostShareAmount;
116: }
117:
118: /**
119: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
120: */
121: protected LinkedHashMap toStringMapper() {
122: LinkedHashMap m = new LinkedHashMap();
123: if (this .routingFormCostShareSequenceNumber != null) {
124: m.put("routingFormCostShareSequenceNumber",
125: this.routingFormCostShareSequenceNumber.toString());
126: }
127: m
128: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
129: this.documentNumber);
130: return m;
131: }
132: }
|