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.budget.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 abstract class BudgetAbstractPeriodCostShare extends
029: PersistableBusinessObjectBase {
030:
031: protected String documentNumber;
032: protected Integer budgetPeriodSequenceNumber;
033: protected Integer budgetCostShareSequenceNumber;
034: protected KualiInteger budgetCostShareAmount;
035:
036: /**
037: * Default no-arg constructor.
038: */
039: public BudgetAbstractPeriodCostShare() {
040:
041: }
042:
043: /**
044: * Gets the documentNumber attribute.
045: *
046: * @return Returns the documentNumber
047: */
048: public String getDocumentNumber() {
049: return documentNumber;
050: }
051:
052: /**
053: * Sets the documentNumber attribute.
054: *
055: * @param documentNumber The documentNumber to set.
056: */
057: public void setDocumentNumber(String documentNumber) {
058: this .documentNumber = documentNumber;
059: }
060:
061: /**
062: * Gets the budgetThirdPartyCostShareAmount attribute.
063: *
064: * @return Returns the budgetThirdPartyCostShareAmount
065: */
066: public Integer getBudgetPeriodSequenceNumber() {
067: return budgetPeriodSequenceNumber;
068: }
069:
070: /**
071: * Sets the budgetThirdPartyCostShareAmount attribute.
072: *
073: * @param budgetThirdPartyCostShareAmount The budgetThirdPartyCostShareAmount to set.
074: */
075: public void setBudgetPeriodSequenceNumber(
076: Integer budgetPeriodSequenceNumber) {
077: this .budgetPeriodSequenceNumber = budgetPeriodSequenceNumber;
078: }
079:
080: /**
081: * Gets the budgetThirdPartyCostShareAmount attribute.
082: *
083: * @return Returns the budgetThirdPartyCostShareAmount
084: */
085: public Integer getBudgetCostShareSequenceNumber() {
086: return budgetCostShareSequenceNumber;
087: }
088:
089: /**
090: * Sets the budgetThirdPartyCostShareAmount attribute.
091: *
092: * @param budgetThirdPartyCostShareAmount The budgetThirdPartyCostShareAmount to set.
093: */
094: public void setBudgetCostShareSequenceNumber(
095: Integer budgetThirdPartyCostShareSequenceNumber) {
096: this .budgetCostShareSequenceNumber = budgetThirdPartyCostShareSequenceNumber;
097: }
098:
099: /**
100: * Gets the budgetThirdPartyCostShareAmount attribute.
101: *
102: * @return Returns the budgetThirdPartyCostShareAmount
103: */
104: public KualiInteger getBudgetCostShareAmount() {
105: return budgetCostShareAmount;
106: }
107:
108: /**
109: * Sets the budgetThirdPartyCostShareAmount attribute.
110: *
111: * @param budgetThirdPartyCostShareAmount The budgetThirdPartyCostShareAmount to set.
112: */
113: public void setBudgetCostShareAmount(
114: KualiInteger budgetThirdPartyCostShareAmount) {
115: this .budgetCostShareAmount = budgetThirdPartyCostShareAmount;
116: }
117:
118: /**
119: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
120: */
121: protected LinkedHashMap toStringMapper() {
122: LinkedHashMap m = new LinkedHashMap();
123:
124: m
125: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
126: this .documentNumber);
127: m.put("budgetPeriodSequenceNumber",
128: this .budgetPeriodSequenceNumber);
129: m.put("budgetCostShareSequenceNumber",
130: this.budgetCostShareSequenceNumber);
131:
132: return m;
133: }
134: }
|