1 /*
2 * Copyright 2011 The Kuali Foundation.
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.ole.integration.cg.businessobject;
17
18 import java.io.Serializable;
19
20 import javax.xml.bind.annotation.XmlAccessType;
21 import javax.xml.bind.annotation.XmlAccessorType;
22 import javax.xml.bind.annotation.XmlType;
23
24 import org.kuali.ole.integration.cg.ContractsAndGrantsAwardAccount;
25
26 /**
27 * <p>Java class for awardAccountDTO complex type.
28 *
29 * <p>The following schema fragment specifies the expected content contained within this class.
30 *
31 * <pre>
32 * <complexType name="awardAccountDTO">
33 * <complexContent>
34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 * <sequence>
36 * <element name="awardId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
37 * <element name="awardTitle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38 * <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39 * <element name="federalSponsor" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
40 * <element name="grantNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41 * <element name="institutionalproposalId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
42 * <element name="primeSponsorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
43 * <element name="primeSponsorName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
44 * <element name="projectDirector" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
45 * <element name="proposalFederalPassThroughAgencyNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
46 * <element name="proposalNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47 * <element name="sponsorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48 * <element name="sponsorName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49 * </sequence>
50 * </restriction>
51 * </complexContent>
52 * </complexType>
53 * </pre>
54 *
55 *
56 */
57 @XmlAccessorType(XmlAccessType.FIELD)
58 @XmlType(name = "awardAccountDTO", propOrder = {
59 "awardId",
60 "awardTitle",
61 "errorMessage",
62 "federalSponsor",
63 "grantNumber",
64 "institutionalproposalId",
65 "primeSponsorCode",
66 "primeSponsorName",
67 "projectDirector",
68 "proposalFederalPassThroughAgencyNumber",
69 "proposalNumber",
70 "sponsorCode",
71 "sponsorName"
72 })
73
74 public class AwardAccountDTO implements ContractsAndGrantsAwardAccount, Serializable {
75
76 private long awardId;
77 private String awardTitle;
78 private String errorMessage;
79 private boolean federalSponsor;
80 private String grantNumber;
81 private long institutionalproposalId;
82 private String primeSponsorCode;
83 private String primeSponsorName;
84 private String projectDirector;
85 private String proposalFederalPassThroughAgencyNumber;
86 private String proposalNumber;
87 private String sponsorCode;
88 private String sponsorName;
89
90 public long getAwardId() {
91 return awardId;
92 }
93
94 public String getErrorMessage() {
95 return errorMessage;
96 }
97
98 public boolean getFederalSponsor() {
99 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 }