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:
023: /**
024: *
025: */
026: public class BudgetBaseCode extends PersistableBusinessObjectBase {
027:
028: private String budgetBaseCode;
029: private String budgetBaseDescription;
030: private boolean active;
031:
032: /**
033: * Default no-arg constructor.
034: */
035: public BudgetBaseCode() {
036:
037: }
038:
039: /**
040: * Gets the budgetBaseCode attribute.
041: *
042: * @return Returns the budgetBaseCode
043: */
044: public String getBudgetBaseCode() {
045: return budgetBaseCode;
046: }
047:
048: /**
049: * Sets the budgetBaseCode attribute.
050: *
051: * @param budgetBaseCode The budgetBaseCode to set.
052: */
053: public void setBudgetBaseCode(String budgetBaseCode) {
054: this .budgetBaseCode = budgetBaseCode;
055: }
056:
057: /**
058: * Gets the budgetBaseDescription attribute.
059: *
060: * @return Returns the budgetBaseDescription
061: */
062: public String getBudgetBaseDescription() {
063: return budgetBaseDescription;
064: }
065:
066: /**
067: * Sets the budgetBaseDescription attribute.
068: *
069: * @param budgetBaseDescription The budgetBaseDescription to set.
070: */
071: public void setBudgetBaseDescription(String budgetBaseDescription) {
072: this .budgetBaseDescription = budgetBaseDescription;
073: }
074:
075: /**
076: * Gets the active attribute.
077: *
078: * @return Returns the active.
079: */
080: public boolean isActive() {
081: return active;
082: }
083:
084: /**
085: * Sets the active attribute value.
086: *
087: * @param active The active to set.
088: */
089: public void setActive(boolean active) {
090: this .active = active;
091: }
092:
093: /**
094: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
095: */
096: protected LinkedHashMap toStringMapper() {
097: LinkedHashMap m = new LinkedHashMap();
098:
099: // m.put("<unique identifier 1>", this.<UniqueIdentifier1>());
100: // m.put("<unique identifier 2>", this.<UniqueIdentifier2>());
101:
102: return m;
103: }
104: }
|