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 package org.kuali.kfs.module.external.kc.businessobject; 017 018 import java.io.Serializable; 019 020 import javax.xml.bind.annotation.XmlAccessType; 021 import javax.xml.bind.annotation.XmlAccessorType; 022 import javax.xml.bind.annotation.XmlType; 023 024 import org.kuali.kfs.integration.cg.ContractsAndGrantsAwardAccount; 025 026 /** 027 * <p>Java class for awardAccountDTO complex type. 028 * 029 * <p>The following schema fragment specifies the expected content contained within this class. 030 * 031 * <pre> 032 * <complexType name="awardAccountDTO"> 033 * <complexContent> 034 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 035 * <sequence> 036 * <element name="awardId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> 037 * <element name="awardTitle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 038 * <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 039 * <element name="federalSponsor" type="{http://www.w3.org/2001/XMLSchema}boolean"/> 040 * <element name="grantNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 041 * <element name="institutionalproposalId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> 042 * <element name="primeSponsorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 043 * <element name="primeSponsorName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 044 * <element name="projectDirector" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 045 * <element name="proposalFederalPassThroughAgencyNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 046 * <element name="proposalNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 047 * <element name="sponsorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 048 * <element name="sponsorName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 049 * </sequence> 050 * </restriction> 051 * </complexContent> 052 * </complexType> 053 * </pre> 054 * 055 * 056 */ 057 @XmlAccessorType(XmlAccessType.FIELD) 058 @XmlType(name = "awardAccountDTO", propOrder = { 059 "awardId", 060 "awardTitle", 061 "errorMessage", 062 "federalSponsor", 063 "grantNumber", 064 "institutionalproposalId", 065 "primeSponsorCode", 066 "primeSponsorName", 067 "primeSponsorTypeCode", 068 "projectDirector", 069 "proposalFederalPassThroughAgencyNumber", 070 "proposalNumber", 071 "sponsorCode", 072 "sponsorName", 073 "sponsorTypeCode" 074 }) 075 076 public class AwardAccountDTO implements ContractsAndGrantsAwardAccount, Serializable { 077 078 private long awardId; 079 private String awardTitle; 080 private String errorMessage; 081 private boolean federalSponsor; 082 private String grantNumber; 083 private long institutionalproposalId; 084 private String primeSponsorCode; 085 private String primeSponsorName; 086 private String primeSponsorTypeCode; 087 private String projectDirector; 088 private String proposalFederalPassThroughAgencyNumber; 089 private String proposalNumber; 090 private String sponsorCode; 091 private String sponsorName; 092 private String sponsorTypeCode; 093 094 public long getAwardId() { 095 return awardId; 096 } 097 098 public String getErrorMessage() { 099 return errorMessage; 100 } 101 102 public boolean getFederalSponsor() { 103 return federalSponsor; 104 } 105 106 public String getGrantNumber() { 107 return grantNumber; 108 } 109 110 public long getInstitutionalproposalId() { 111 return institutionalproposalId; 112 } 113 114 public String getProjectDirector() { 115 return projectDirector; 116 } 117 118 public String getProposalFederalPassThroughAgencyNumber() { 119 return proposalFederalPassThroughAgencyNumber; 120 } 121 122 public String getProposalNumber() { 123 return proposalNumber; 124 } 125 126 public String getSponsorCode() { 127 return sponsorCode; 128 } 129 130 public String getSponsorName() { 131 return sponsorName; 132 } 133 134 public void refresh() { 135 } 136 137 public void prepareForWorkflow() { 138 } 139 140 /** 141 * 142 */ 143 public String getAwardTitle() { 144 return awardTitle; 145 } 146 147 /** 148 * 149 */ 150 public void setAwardTitle(String awardTitle) { 151 this.awardTitle = awardTitle; 152 } 153 154 /** 155 * 156 */ 157 public String getPrimeSponsorCode() { 158 return primeSponsorCode; 159 } 160 161 /** 162 * 163 */ 164 public void setPrimeSponsorCode(String primeSponsorCode) { 165 this.primeSponsorCode = primeSponsorCode; 166 } 167 168 /** 169 * 170 */ 171 public String getPrimeSponsorName() { 172 return primeSponsorName; 173 } 174 175 /** 176 * 177 */ 178 public void setPrimeSponsorName(String primeSponsorName) { 179 this.primeSponsorName = primeSponsorName; 180 } 181 182 public String getPrimeSponsorTypeCode() { 183 return primeSponsorTypeCode; 184 } 185 186 public void setPrimeSponsorTypeCode(String primeSponsorTypeCode) { 187 this.primeSponsorTypeCode = primeSponsorTypeCode; 188 } 189 190 public String getSponsorTypeCode() { 191 return sponsorTypeCode; 192 } 193 194 public void setSponsorTypeCode(String sponsorTypeCode) { 195 this.sponsorTypeCode = sponsorTypeCode; 196 } 197 198 }