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.module.external.kc.businessobject;
018
019 import java.io.Serializable;
020
021 import javax.xml.bind.annotation.XmlAccessType;
022 import javax.xml.bind.annotation.XmlAccessorType;
023 import javax.xml.bind.annotation.XmlType;
024
025 import org.kuali.kfs.integration.cg.ContractsAndGrantsCfda;
026
027
028 /**
029 * Instances of this class refer to Catalog of Federal Domestic Assistance codes. Some of these codes are taken directly from a
030 * government web-site. Additional codes can be created manually however. Codes can be updated automatically via the CfdaBatchStep.
031 */
032 @XmlAccessorType(XmlAccessType.FIELD)
033 @XmlType(name = "cfdaDTO", propOrder = {
034 "awardId",
035 "cfdaMaintenanceTypeId",
036 "cfdaNumber",
037 "cfdaProgramTitleName"
038 })
039 public class Cfda implements ContractsAndGrantsCfda, Serializable {
040
041 private String cfdaNumber;
042 private String cfdaProgramTitleName;
043 private String cfdaMaintenanceTypeId;
044 private String awardId;
045
046 /**
047 * Default constructor.
048 */
049 public Cfda(String cfdaNumber) {
050 this.cfdaNumber = cfdaNumber;
051 }
052
053 public Cfda(){
054 }
055
056 /**
057 * Gets the cfdaNumber attribute.
058 *
059 * @return Returns the cfdaNumber
060 */
061 public String getCfdaNumber() {
062 return cfdaNumber;
063 }
064
065 /**
066 * Sets the cfdaNumber attribute.
067 *
068 * @param cfdaNumber The cfdaNumber to set.
069 */
070 public void setCfdaNumber(String cfdaNumber) {
071 this.cfdaNumber = cfdaNumber;
072 }
073
074
075 /**
076 * Gets the cfdaProgramTitleName attribute.
077 *
078 * @return Returns the cfdaProgramTitleName
079 */
080 public String getCfdaProgramTitleName() {
081 return cfdaProgramTitleName;
082 }
083
084 /**
085 * Sets the cfdaProgramTitleName attribute.
086 *
087 * @param cfdaProgramTitleName The cfdaProgramTitleName to set.
088 */
089 public void setCfdaProgramTitleName(String cfdaProgramTitleName) {
090 this.cfdaProgramTitleName = cfdaProgramTitleName;
091 }
092
093 /**
094 * Gets the cfdaMaintenanceTypeId attribute.
095 *
096 * @return Returns the cfdaMaintenanceTypeId
097 */
098 public String getCfdaMaintenanceTypeId() {
099 return cfdaMaintenanceTypeId;
100 }
101
102 /**
103 * Sets the cfdaMaintenanceTypeId attribute.
104 *
105 * @param cfdaMaintenanceTypeId The cfdaMaintenanceTypeId to set.
106 */
107 public void setCfdaMaintenanceTypeId(String cfdaMaintenanceTypeId) {
108 this.cfdaMaintenanceTypeId = cfdaMaintenanceTypeId;
109 }
110
111 public void prepareForWorkflow() {}
112
113 public void refresh() {}
114
115 public String getAwardId() {
116 return awardId;
117 }
118
119 public void setAwardId(String awardId) {
120 this.awardId = awardId;
121 }
122
123 }