001    /*
002     * Copyright 2011 The Kuali Foundation.
003     * 
004     * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.integration.cg.businessobject;
018    
019    import java.util.LinkedHashMap;
020    
021    import org.kuali.rice.kns.bo.Inactivateable;
022    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
023    import org.kuali.kfs.integration.cg.ContractsAndGrantsCfda;
024    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
025    
026    /**
027     * Instances of this class refer to Catalog of Federal Domestic Assistance codes. Some of these codes are taken directly from a
028     * government web-site. Additional codes can be created manually however. Codes can be updated automatically via the CfdaBatchStep.
029     */
030    public class CFDA implements ContractsAndGrantsCfda {
031    
032        private String cfdaNumber;
033        private String cfdaProgramTitleName;
034        private String cfdaMaintenanceTypeId;
035    
036        /**
037         * Default constructor.
038         */
039        public CFDA() {
040        }
041    
042        /**
043         * Gets the cfdaNumber attribute.
044         * 
045         * @return Returns the cfdaNumber
046         */
047        public String getCfdaNumber() {
048            return cfdaNumber;
049        }
050    
051        /**
052         * Sets the cfdaNumber attribute.
053         * 
054         * @param cfdaNumber The cfdaNumber to set.
055         */
056        public void setCfdaNumber(String cfdaNumber) {
057            this.cfdaNumber = cfdaNumber;
058        }
059    
060    
061        /**
062         * Gets the cfdaProgramTitleName attribute.
063         * 
064         * @return Returns the cfdaProgramTitleName
065         */
066        public String getCfdaProgramTitleName() {
067            return cfdaProgramTitleName;
068        }
069    
070        /**
071         * Sets the cfdaProgramTitleName attribute.
072         * 
073         * @param cfdaProgramTitleName The cfdaProgramTitleName to set.
074         */
075        public void setCfdaProgramTitleName(String cfdaProgramTitleName) {
076            this.cfdaProgramTitleName = cfdaProgramTitleName;
077        }
078       
079        /**
080         * Gets the cfdaMaintenanceTypeId attribute.
081         * 
082         * @return Returns the cfdaMaintenanceTypeId
083         */
084        public String getCfdaMaintenanceTypeId() {
085            return cfdaMaintenanceTypeId;
086        }
087    
088        /**
089         * Sets the cfdaMaintenanceTypeId attribute.
090         * 
091         * @param cfdaMaintenanceTypeId The cfdaMaintenanceTypeId to set.
092         */
093        public void setCfdaMaintenanceTypeId(String cfdaMaintenanceTypeId) {
094            this.cfdaMaintenanceTypeId = cfdaMaintenanceTypeId;
095        }
096    
097        public void prepareForWorkflow() {}
098    
099        public void refresh() {}
100    }