001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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.module.kra.routingform.bo;
018:
019: import java.sql.Date;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023: import org.kuali.kfs.KFSPropertyConstants;
024:
025: /**
026: * Class representing a RoutingFormResearchRiskTypeStudy.
027: */
028: public class RoutingFormResearchRiskStudy extends
029: PersistableBusinessObjectBase {
030:
031: private String documentNumber;
032: private Integer routingFormResearchRiskStudySequenceNumber;
033: private String researchRiskStudyApprovalStatusCode;
034: private String researchRiskExemptionNumber;
035: private Date researchRiskStudyApprovalDate;
036: private String researchRiskStudyNumber;
037: private String researchRiskStudyName;
038: private String researchRiskStudyReviewCode;
039: private String researchRiskTypeCode;
040: private Date researchRiskStudyExpirationDate;
041:
042: /**
043: * Default constructor.
044: */
045: public RoutingFormResearchRiskStudy() {
046:
047: }
048:
049: /**
050: * Gets the documentNumber attribute.
051: *
052: * @return Returns the documentNumber
053: */
054: public String getDocumentNumber() {
055: return documentNumber;
056: }
057:
058: /**
059: * Sets the documentNumber attribute.
060: *
061: * @param documentNumber The documentNumber to set.
062: */
063: public void setDocumentNumber(String documentNumber) {
064: this .documentNumber = documentNumber;
065: }
066:
067: /**
068: * Gets the routingFormResearchRiskStudySequenceNumber attribute.
069: *
070: * @return Returns the routingFormResearchRiskStudySequenceNumber
071: */
072: public Integer getRoutingFormResearchRiskStudySequenceNumber() {
073: return routingFormResearchRiskStudySequenceNumber;
074: }
075:
076: /**
077: * Sets the routingFormResearchRiskStudySequenceNumber attribute.
078: *
079: * @param routingFormResearchRiskStudySequenceNumber The routingFormResearchRiskStudySequenceNumber to set.
080: */
081: public void setRoutingFormResearchRiskStudySequenceNumber(
082: Integer routingFormResearchRiskStudySequenceNumber) {
083: this .routingFormResearchRiskStudySequenceNumber = routingFormResearchRiskStudySequenceNumber;
084: }
085:
086: /**
087: * Gets the researchRiskStudyApprovalStatusCode attribute.
088: *
089: * @return Returns the researchRiskStudyApprovalStatusCode
090: */
091: public String getResearchRiskStudyApprovalStatusCode() {
092: return researchRiskStudyApprovalStatusCode;
093: }
094:
095: /**
096: * Sets the researchRiskStudyApprovalStatusCode attribute.
097: *
098: * @param researchRiskStudyApprovalStatusCode The researchRiskStudyApprovalStatusCode to set.
099: */
100: public void setResearchRiskStudyApprovalStatusCode(
101: String researchRiskStudyApprovalStatusCode) {
102: this .researchRiskStudyApprovalStatusCode = researchRiskStudyApprovalStatusCode;
103: }
104:
105: /**
106: * Gets the researchRiskExemptionNumber attribute.
107: *
108: * @return Returns the researchRiskExemptionNumber
109: */
110: public String getResearchRiskExemptionNumber() {
111: return researchRiskExemptionNumber;
112: }
113:
114: /**
115: * Sets the researchRiskExemptionNumber attribute.
116: *
117: * @param researchRiskExemptionNumber The researchRiskExemptionNumber to set.
118: */
119: public void setResearchRiskExemptionNumber(
120: String researchRiskExemptionNumber) {
121: this .researchRiskExemptionNumber = researchRiskExemptionNumber;
122: }
123:
124: /**
125: * Gets the researchRiskStudyApprovalDate attribute.
126: *
127: * @return Returns the researchRiskStudyApprovalDate
128: */
129: public Date getResearchRiskStudyApprovalDate() {
130: return researchRiskStudyApprovalDate;
131: }
132:
133: /**
134: * Sets the researchRiskStudyApprovalDate attribute.
135: *
136: * @param researchRiskStudyApprovalDate The researchRiskStudyApprovalDate to set.
137: */
138: public void setResearchRiskStudyApprovalDate(
139: Date researchRiskStudyApprovalDate) {
140: this .researchRiskStudyApprovalDate = researchRiskStudyApprovalDate;
141: }
142:
143: /**
144: * Gets the researchRiskStudyNumber attribute.
145: *
146: * @return Returns the researchRiskStudyNumber
147: */
148: public String getResearchRiskStudyNumber() {
149: return researchRiskStudyNumber;
150: }
151:
152: /**
153: * Sets the researchRiskStudyNumber attribute.
154: *
155: * @param researchRiskStudyNumber The researchRiskStudyNumber to set.
156: */
157: public void setResearchRiskStudyNumber(
158: String researchRiskStudyNumber) {
159: this .researchRiskStudyNumber = researchRiskStudyNumber;
160: }
161:
162: /**
163: * Gets the researchRiskStudyName attribute.
164: *
165: * @return Returns the researchRiskStudyName
166: */
167: public String getResearchRiskStudyName() {
168: return researchRiskStudyName;
169: }
170:
171: /**
172: * Sets the researchRiskStudyName attribute.
173: *
174: * @param researchRiskStudyName The researchRiskStudyName to set.
175: */
176: public void setResearchRiskStudyName(String researchRiskStudyName) {
177: this .researchRiskStudyName = researchRiskStudyName;
178: }
179:
180: /**
181: * Gets the researchRiskStudyReviewCode attribute.
182: *
183: * @return Returns the researchRiskStudyReviewCode
184: */
185: public String getResearchRiskStudyReviewCode() {
186: return researchRiskStudyReviewCode;
187: }
188:
189: /**
190: * Sets the researchRiskStudyReviewCode attribute.
191: *
192: * @param researchRiskStudyReviewCode The researchRiskStudyReviewCode to set.
193: */
194: public void setResearchRiskStudyReviewCode(
195: String researchRiskStudyReviewCode) {
196: this .researchRiskStudyReviewCode = researchRiskStudyReviewCode;
197: }
198:
199: /**
200: * Gets the researchRiskTypeCode attribute.
201: *
202: * @return Returns the researchRiskTypeCode
203: */
204: public String getResearchRiskTypeCode() {
205: return researchRiskTypeCode;
206: }
207:
208: /**
209: * Sets the researchRiskTypeCode attribute.
210: *
211: * @param researchRiskTypeCode The researchRiskTypeCode to set.
212: */
213: public void setResearchRiskTypeCode(String researchRiskTypeCode) {
214: this .researchRiskTypeCode = researchRiskTypeCode;
215: }
216:
217: /**
218: * Gets the researchRiskStudyExpirationDate attribute.
219: *
220: * @return Returns the researchRiskStudyExpirationDate.
221: */
222: public Date getResearchRiskStudyExpirationDate() {
223: return researchRiskStudyExpirationDate;
224: }
225:
226: /**
227: * Sets the researchRiskStudyExpirationDate attribute value.
228: *
229: * @param researchRiskStudyExpirationDate The researchRiskStudyExpirationDate to set.
230: */
231: public void setResearchRiskStudyExpirationDate(
232: Date researchRiskStudyExpirationDate) {
233: this .researchRiskStudyExpirationDate = researchRiskStudyExpirationDate;
234: }
235:
236: /**
237: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
238: */
239: protected LinkedHashMap toStringMapper() {
240: LinkedHashMap m = new LinkedHashMap();
241: m
242: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
243: this .documentNumber);
244: if (this .routingFormResearchRiskStudySequenceNumber != null) {
245: m.put("routingFormResearchRiskStudySequenceNumber",
246: this .routingFormResearchRiskStudySequenceNumber
247: .toString());
248: }
249: m.put("researchRiskTypeCode", this.researchRiskTypeCode);
250: return m;
251: }
252:
253: }
|