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:
017: package org.kuali.module.cg.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: * Instances of this class refer to Catalog of Federal Domestic Assistance codes. Some of these codes are taken directly from a
025: * government web-site. Additional codes can be created manually however. Codes can be updated automatically via the CfdaBatchStep.
026: */
027: public class Cfda extends PersistableBusinessObjectBase {
028:
029: private String cfdaNumber;
030: private String cfdaProgramTitleName;
031: private boolean cfdaStatusCode;
032: private String cfdaMaintenanceTypeId;
033: private boolean rowActiveIndicator;
034:
035: /**
036: * Default constructor.
037: */
038: public Cfda() {
039: }
040:
041: /**
042: * Gets the cfdaNumber attribute.
043: *
044: * @return Returns the cfdaNumber
045: */
046: public String getCfdaNumber() {
047: return cfdaNumber;
048: }
049:
050: /**
051: * Sets the cfdaNumber attribute.
052: *
053: * @param cfdaNumber The cfdaNumber to set.
054: */
055: public void setCfdaNumber(String cfdaNumber) {
056: this .cfdaNumber = cfdaNumber;
057: }
058:
059: /**
060: * Gets the cfdaProgramTitleName attribute.
061: *
062: * @return Returns the cfdaProgramTitleName
063: */
064: public String getCfdaProgramTitleName() {
065: return cfdaProgramTitleName;
066: }
067:
068: /**
069: * Sets the cfdaProgramTitleName attribute.
070: *
071: * @param cfdaProgramTitleName The cfdaProgramTitleName to set.
072: */
073: public void setCfdaProgramTitleName(String cfdaProgramTitleName) {
074: this .cfdaProgramTitleName = cfdaProgramTitleName;
075: }
076:
077: /**
078: * Gets the cfdaStatusCode attribute.
079: *
080: * @return Returns the cfdaStatusCode
081: */
082: public boolean getCfdaStatusCode() {
083: return cfdaStatusCode;
084: }
085:
086: /**
087: * Sets the cfdaStatusCode attribute.
088: *
089: * @param cfdaStatusCode The cfdaStatusCode to set.
090: */
091: public void setCfdaStatusCode(boolean cfdaStatusCode) {
092: this .cfdaStatusCode = cfdaStatusCode;
093: }
094:
095: /**
096: * Gets the cfdaMaintenanceTypeId attribute.
097: *
098: * @return Returns the cfdaMaintenanceTypeId
099: */
100: public String getCfdaMaintenanceTypeId() {
101: return cfdaMaintenanceTypeId;
102: }
103:
104: /**
105: * Sets the cfdaMaintenanceTypeId attribute.
106: *
107: * @param cfdaMaintenanceTypeId The cfdaMaintenanceTypeId to set.
108: */
109: public void setCfdaMaintenanceTypeId(String cfdaMaintenanceTypeId) {
110: this .cfdaMaintenanceTypeId = cfdaMaintenanceTypeId;
111: }
112:
113: /**
114: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
115: */
116: protected LinkedHashMap toStringMapper() {
117: LinkedHashMap m = new LinkedHashMap();
118: m.put("cfdaNumber", this .cfdaNumber);
119: return m;
120: }
121:
122: /**
123: * This method gets the row active indicator value.
124: *
125: * @return The value of the row active indicator attribute.
126: */
127: public boolean isRowActiveIndicator() {
128: return rowActiveIndicator;
129: }
130:
131: /**
132: * This method sets the row active indicator for this object.
133: *
134: * @param rowActiveIndicator The value to be assigned to the rowActiveIndicator attribute.
135: */
136: public void setRowActiveIndicator(boolean rowActiveIndicator) {
137: this.rowActiveIndicator = rowActiveIndicator;
138: }
139: }
|