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.module.cg.bo.Agency;
024:
025: /**
026: *
027: */
028: public class AgencyExtension extends PersistableBusinessObjectBase {
029:
030: private String agencyNumber;
031: private boolean agencyModularIndicator;
032: private KualiInteger budgetModularIncrementAmount;
033: private KualiInteger budgetPeriodMaximumAmount;
034: private boolean agencyNsfOutputIndicator;
035: private Agency agency;
036:
037: /**
038: * Default no-arg constructor.
039: */
040: public AgencyExtension() {
041:
042: }
043:
044: /**
045: * Gets the agencyModularIndicator attribute.
046: *
047: * @return Returns the agencyModularIndicator
048: */
049: public boolean isAgencyModularIndicator() {
050: return agencyModularIndicator;
051: }
052:
053: /**
054: * Sets the agencyModularIndicator attribute.
055: *
056: * @param agencyModularIndicator The agencyModularIndicator to set.
057: */
058: public void setAgencyModularIndicator(boolean agencyModularIndicator) {
059: this .agencyModularIndicator = agencyModularIndicator;
060: }
061:
062: /**
063: * Gets the budgetModularIncrementAmount attribute.
064: *
065: * @return Returns the budgetModularIncrementAmount
066: */
067: public KualiInteger getBudgetModularIncrementAmount() {
068: return budgetModularIncrementAmount;
069: }
070:
071: /**
072: * Sets the budgetModularIncrementAmount attribute.
073: *
074: * @param budgetModularIncrementAmount The budgetModularIncrementAmount to set.
075: */
076: public void setBudgetModularIncrementAmount(
077: KualiInteger budgetModularIncrementAmount) {
078: this .budgetModularIncrementAmount = budgetModularIncrementAmount;
079: }
080:
081: /**
082: * Gets the budgetPeriodMaximumAmount attribute.
083: *
084: * @return Returns the budgetPeriodMaximumAmount
085: */
086: public KualiInteger getBudgetPeriodMaximumAmount() {
087: return budgetPeriodMaximumAmount;
088: }
089:
090: /**
091: * Sets the budgetPeriodMaximumAmount attribute.
092: *
093: * @param budgetPeriodMaximumAmount The budgetPeriodMaximumAmount to set.
094: */
095: public void setBudgetPeriodMaximumAmount(
096: KualiInteger budgetPeriodMaximumAmount) {
097: this .budgetPeriodMaximumAmount = budgetPeriodMaximumAmount;
098: }
099:
100: /**
101: * Gets the agencyNsfOutputIndicator attribute.
102: *
103: * @return Returns the agencyNsfOutputIndicator
104: */
105: public boolean isAgencyNsfOutputIndicator() {
106: return agencyNsfOutputIndicator;
107: }
108:
109: /**
110: * Sets the agencyNsfOutputIndicator attribute.
111: *
112: * @param agencyNsfOutputIndicator The agencyNsfOutputIndicator to set.
113: */
114: public void setAgencyNsfOutputIndicator(
115: boolean agencyNsfOutputIndicator) {
116: this .agencyNsfOutputIndicator = agencyNsfOutputIndicator;
117: }
118:
119: /**
120: * Gets the agencyNumber attribute.
121: *
122: * @return Returns the agencyNumber
123: */
124: public String getAgencyNumber() {
125: return agencyNumber;
126: }
127:
128: /**
129: * Sets the agencyNumber attribute.
130: *
131: * @param agencyNumber The agencyNumber to set.
132: */
133: public void setAgencyNumber(String agencyNumber) {
134: this .agencyNumber = agencyNumber;
135: }
136:
137: /**
138: * Gets the agency attribute.
139: *
140: * @return Returns the agency
141: */
142: public Agency getAgency() {
143: return agency;
144: }
145:
146: /**
147: * Sets the agency attribute.
148: *
149: * @param agency The agency to set.
150: */
151: public void setAgency(Agency agency) {
152: this .agency = agency;
153: }
154:
155: /**
156: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
157: */
158: protected LinkedHashMap toStringMapper() {
159: LinkedHashMap m = new LinkedHashMap();
160:
161: // m.put("<unique identifier 1>", this.<UniqueIdentifier1>());
162: // m.put("<unique identifier 2>", this.<UniqueIdentifier2>());
163:
164: return m;
165: }
166: }
|