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.integration.cg.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 "projectDirector",
068 "proposalFederalPassThroughAgencyNumber",
069 "proposalNumber",
070 "sponsorCode",
071 "sponsorName"
072 })
073
074 public class AwardAccountDTO implements ContractsAndGrantsAwardAccount, Serializable {
075
076 private long awardId;
077 private String awardTitle;
078 private String errorMessage;
079 private boolean federalSponsor;
080 private String grantNumber;
081 private long institutionalproposalId;
082 private String primeSponsorCode;
083 private String primeSponsorName;
084 private String projectDirector;
085 private String proposalFederalPassThroughAgencyNumber;
086 private String proposalNumber;
087 private String sponsorCode;
088 private String sponsorName;
089
090 public long getAwardId() {
091 return awardId;
092 }
093
094 public String getErrorMessage() {
095 return errorMessage;
096 }
097
098 public boolean getFederalSponsor() {
099 return federalSponsor;
100 }
101
102 public String getGrantNumber() {
103 return grantNumber;
104 }
105
106 public long getInstitutionalproposalId() {
107 return institutionalproposalId;
108 }
109
110 public String getProjectDirector() {
111 return projectDirector;
112 }
113
114 public String getProposalFederalPassThroughAgencyNumber() {
115 return proposalFederalPassThroughAgencyNumber;
116 }
117
118 public String getProposalNumber() {
119 return proposalNumber;
120 }
121
122 public String getSponsorCode() {
123 return sponsorCode;
124 }
125
126 public String getSponsorName() {
127 return sponsorName;
128 }
129
130 public void refresh() {
131 }
132
133 public void prepareForWorkflow() {
134 }
135
136 /**
137 *
138 */
139 public String getAwardTitle() {
140 return awardTitle;
141 }
142
143 /**
144 *
145 */
146 public void setAwardTitle(String awardTitle) {
147 this.awardTitle = awardTitle;
148 }
149
150 /**
151 *
152 */
153 public String getPrimeSponsorCode() {
154 return primeSponsorCode;
155 }
156
157 /**
158 *
159 */
160 public void setPrimeSponsorCode(String primeSponsorCode) {
161 this.primeSponsorCode = primeSponsorCode;
162 }
163
164 /**
165 *
166 */
167 public String getPrimeSponsorName() {
168 return primeSponsorName;
169 }
170
171 /**
172 *
173 */
174 public void setPrimeSponsorName(String primeSponsorName) {
175 this.primeSponsorName = primeSponsorName;
176 }
177
178 }