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.chart.bo;
018:
019: import java.sql.Date;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.Campus;
023: import org.kuali.core.bo.PersistableBusinessObjectBase;
024: import org.kuali.kfs.bo.Country;
025:
026: /**
027: *
028: */
029: public class PriorYearOrganization extends
030: PersistableBusinessObjectBase {
031:
032: private String chartOfAccountsCode;
033: private String organizationCode;
034: private String organizationManagerUniversalId;
035: private String organizationName;
036: private String responsibilityCenterCode;
037: private String organizationPhysicalCampusCode;
038: private String organizationTypeCode;
039: private String organizationDefaultAccountNumber;
040: private String organizationCityName;
041: private String organizationStateCode;
042: private String organizationZipCode;
043: private Date organizationBeginDate;
044: private Date organizationEndDate;
045: private String reportsToChartOfAccountsCode;
046: private String reportsToOrganizationCode;
047: private boolean organizationActiveIndicator;
048: private boolean organizationInFinancialProcessingIndicator;
049: private String organizationPlantAccountNumber;
050: private String campusPlantAccountNumber;
051: private String organizationPlantChartCode;
052: private String campusPlantChartCode;
053: private String organizationCountryCode;
054: private String organizationLine1Address;
055: private String organizationLine2Address;
056:
057: private Chart chartOfAccounts;
058: private Account organizationDefaultAccount;
059: private Org organization;
060: private Campus organizationPhysicalCampus;
061: private Org reportsToOrganization;
062: private Chart reportsToChartOfAccounts;
063: private Account organizationPlantAccount;
064: private Account campusPlantAccount;
065: private Chart organizationPlantChart;
066: private Chart campusPlantChart;
067: private Country organizationCountry;
068:
069: /**
070: * Default constructor.
071: */
072: public PriorYearOrganization() {
073:
074: }
075:
076: /**
077: * Gets the chartOfAccountsCode attribute.
078: *
079: * @return Returns the chartOfAccountsCode
080: */
081: public String getChartOfAccountsCode() {
082: return chartOfAccountsCode;
083: }
084:
085: /**
086: * Sets the chartOfAccountsCode attribute.
087: *
088: * @param chartOfAccountsCode The chartOfAccountsCode to set.
089: */
090: public void setChartOfAccountsCode(String chartOfAccountsCode) {
091: this .chartOfAccountsCode = chartOfAccountsCode;
092: }
093:
094: /**
095: * Gets the organizationCode attribute.
096: *
097: * @return Returns the organizationCode
098: */
099: public String getOrganizationCode() {
100: return organizationCode;
101: }
102:
103: /**
104: * Sets the organizationCode attribute.
105: *
106: * @param organizationCode The organizationCode to set.
107: */
108: public void setOrganizationCode(String organizationCode) {
109: this .organizationCode = organizationCode;
110: }
111:
112: /**
113: * Gets the organizationManagerUniversalId attribute.
114: *
115: * @return Returns the organizationManagerUniversalId
116: */
117: public String getOrganizationManagerUniversalId() {
118: return organizationManagerUniversalId;
119: }
120:
121: /**
122: * Sets the organizationManagerUniversalId attribute.
123: *
124: * @param organizationManagerUniversalId The organizationManagerUniversalId to set.
125: */
126: public void setOrganizationManagerUniversalId(
127: String organizationManagerUniversalId) {
128: this .organizationManagerUniversalId = organizationManagerUniversalId;
129: }
130:
131: /**
132: * Gets the organizationName attribute.
133: *
134: * @return Returns the organizationName
135: */
136: public String getOrganizationName() {
137: return organizationName;
138: }
139:
140: /**
141: * Sets the organizationName attribute.
142: *
143: * @param organizationName The organizationName to set.
144: */
145: public void setOrganizationName(String organizationName) {
146: this .organizationName = organizationName;
147: }
148:
149: /**
150: * Gets the responsibilityCenterCode attribute.
151: *
152: * @return Returns the responsibilityCenterCode
153: */
154: public String getResponsibilityCenterCode() {
155: return responsibilityCenterCode;
156: }
157:
158: /**
159: * Sets the responsibilityCenterCode attribute.
160: *
161: * @param responsibilityCenterCode The responsibilityCenterCode to set.
162: */
163: public void setResponsibilityCenterCode(
164: String responsibilityCenterCode) {
165: this .responsibilityCenterCode = responsibilityCenterCode;
166: }
167:
168: /**
169: * Gets the organizationPhysicalCampusCode attribute.
170: *
171: * @return Returns the organizationPhysicalCampusCode
172: */
173: public String getOrganizationPhysicalCampusCode() {
174: return organizationPhysicalCampusCode;
175: }
176:
177: /**
178: * Sets the organizationPhysicalCampusCode attribute.
179: *
180: * @param organizationPhysicalCampusCode The organizationPhysicalCampusCode to set.
181: */
182: public void setOrganizationPhysicalCampusCode(
183: String organizationPhysicalCampusCode) {
184: this .organizationPhysicalCampusCode = organizationPhysicalCampusCode;
185: }
186:
187: /**
188: * Gets the organizationTypeCode attribute.
189: *
190: * @return Returns the organizationTypeCode
191: */
192: public String getOrganizationTypeCode() {
193: return organizationTypeCode;
194: }
195:
196: /**
197: * Sets the organizationTypeCode attribute.
198: *
199: * @param organizationTypeCode The organizationTypeCode to set.
200: */
201: public void setOrganizationTypeCode(String organizationTypeCode) {
202: this .organizationTypeCode = organizationTypeCode;
203: }
204:
205: /**
206: * Gets the organizationDefaultAccountNumber attribute.
207: *
208: * @return Returns the organizationDefaultAccountNumber
209: */
210: public String getOrganizationDefaultAccountNumber() {
211: return organizationDefaultAccountNumber;
212: }
213:
214: /**
215: * Sets the organizationDefaultAccountNumber attribute.
216: *
217: * @param organizationDefaultAccountNumber The organizationDefaultAccountNumber to set.
218: */
219: public void setOrganizationDefaultAccountNumber(
220: String organizationDefaultAccountNumber) {
221: this .organizationDefaultAccountNumber = organizationDefaultAccountNumber;
222: }
223:
224: /**
225: * Gets the organizationCityName attribute.
226: *
227: * @return Returns the organizationCityName
228: */
229: public String getOrganizationCityName() {
230: return organizationCityName;
231: }
232:
233: /**
234: * Sets the organizationCityName attribute.
235: *
236: * @param organizationCityName The organizationCityName to set.
237: */
238: public void setOrganizationCityName(String organizationCityName) {
239: this .organizationCityName = organizationCityName;
240: }
241:
242: /**
243: * Gets the organizationStateCode attribute.
244: *
245: * @return Returns the organizationStateCode
246: */
247: public String getOrganizationStateCode() {
248: return organizationStateCode;
249: }
250:
251: /**
252: * Sets the organizationStateCode attribute.
253: *
254: * @param organizationStateCode The organizationStateCode to set.
255: */
256: public void setOrganizationStateCode(String organizationStateCode) {
257: this .organizationStateCode = organizationStateCode;
258: }
259:
260: /**
261: * Gets the organizationZipCode attribute.
262: *
263: * @return Returns the organizationZipCode
264: */
265: public String getOrganizationZipCode() {
266: return organizationZipCode;
267: }
268:
269: /**
270: * Sets the organizationZipCode attribute.
271: *
272: * @param organizationZipCode The organizationZipCode to set.
273: */
274: public void setOrganizationZipCode(String organizationZipCode) {
275: this .organizationZipCode = organizationZipCode;
276: }
277:
278: /**
279: * Gets the organizationBeginDate attribute.
280: *
281: * @return Returns the organizationBeginDate
282: */
283: public Date getOrganizationBeginDate() {
284: return organizationBeginDate;
285: }
286:
287: /**
288: * Sets the organizationBeginDate attribute.
289: *
290: * @param organizationBeginDate The organizationBeginDate to set.
291: */
292: public void setOrganizationBeginDate(Date organizationBeginDate) {
293: this .organizationBeginDate = organizationBeginDate;
294: }
295:
296: /**
297: * Gets the organizationEndDate attribute.
298: *
299: * @return Returns the organizationEndDate
300: */
301: public Date getOrganizationEndDate() {
302: return organizationEndDate;
303: }
304:
305: /**
306: * Sets the organizationEndDate attribute.
307: *
308: * @param organizationEndDate The organizationEndDate to set.
309: */
310: public void setOrganizationEndDate(Date organizationEndDate) {
311: this .organizationEndDate = organizationEndDate;
312: }
313:
314: /**
315: * Gets the reportsToChartOfAccountsCode attribute.
316: *
317: * @return Returns the reportsToChartOfAccountsCode
318: */
319: public String getReportsToChartOfAccountsCode() {
320: return reportsToChartOfAccountsCode;
321: }
322:
323: /**
324: * Sets the reportsToChartOfAccountsCode attribute.
325: *
326: * @param reportsToChartOfAccountsCode The reportsToChartOfAccountsCode to set.
327: */
328: public void setReportsToChartOfAccountsCode(
329: String reportsToChartOfAccountsCode) {
330: this .reportsToChartOfAccountsCode = reportsToChartOfAccountsCode;
331: }
332:
333: /**
334: * Gets the reportsToOrganizationCode attribute.
335: *
336: * @return Returns the reportsToOrganizationCode
337: */
338: public String getReportsToOrganizationCode() {
339: return reportsToOrganizationCode;
340: }
341:
342: /**
343: * Sets the reportsToOrganizationCode attribute.
344: *
345: * @param reportsToOrganizationCode The reportsToOrganizationCode to set.
346: */
347: public void setReportsToOrganizationCode(
348: String reportsToOrganizationCode) {
349: this .reportsToOrganizationCode = reportsToOrganizationCode;
350: }
351:
352: /**
353: * Gets the organizationActiveIndicator attribute.
354: *
355: * @return Returns the organizationActiveIndicator
356: */
357: public boolean isOrganizationActiveIndicator() {
358: return organizationActiveIndicator;
359: }
360:
361: /**
362: * Sets the organizationActiveIndicator attribute.
363: *
364: * @param organizationActiveIndicator The organizationActiveIndicator to set.
365: */
366: public void setOrganizationActiveIndicator(
367: boolean organizationActiveIndicator) {
368: this .organizationActiveIndicator = organizationActiveIndicator;
369: }
370:
371: /**
372: * Gets the organizationInFinancialProcessingIndicator attribute.
373: *
374: * @return Returns the organizationInFinancialProcessingIndicator
375: */
376: public boolean isOrganizationInFinancialProcessingIndicator() {
377: return organizationInFinancialProcessingIndicator;
378: }
379:
380: /**
381: * Sets the organizationInFinancialProcessingIndicator attribute.
382: *
383: * @param organizationInFinancialProcessingIndicator The organizationInFinancialProcessingIndicator to set.
384: */
385: public void setOrganizationInFinancialProcessingIndicator(
386: boolean organizationInFinancialProcessingIndicator) {
387: this .organizationInFinancialProcessingIndicator = organizationInFinancialProcessingIndicator;
388: }
389:
390: /**
391: * Gets the organizationPlantAccountNumber attribute.
392: *
393: * @return Returns the organizationPlantAccountNumber
394: */
395: public String getOrganizationPlantAccountNumber() {
396: return organizationPlantAccountNumber;
397: }
398:
399: /**
400: * Sets the organizationPlantAccountNumber attribute.
401: *
402: * @param organizationPlantAccountNumber The organizationPlantAccountNumber to set.
403: */
404: public void setOrganizationPlantAccountNumber(
405: String organizationPlantAccountNumber) {
406: this .organizationPlantAccountNumber = organizationPlantAccountNumber;
407: }
408:
409: /**
410: * Gets the campusPlantAccountNumber attribute.
411: *
412: * @return Returns the campusPlantAccountNumber
413: */
414: public String getCampusPlantAccountNumber() {
415: return campusPlantAccountNumber;
416: }
417:
418: /**
419: * Sets the campusPlantAccountNumber attribute.
420: *
421: * @param campusPlantAccountNumber The campusPlantAccountNumber to set.
422: */
423: public void setCampusPlantAccountNumber(
424: String campusPlantAccountNumber) {
425: this .campusPlantAccountNumber = campusPlantAccountNumber;
426: }
427:
428: /**
429: * Gets the organizationPlantChartCode attribute.
430: *
431: * @return Returns the organizationPlantChartCode
432: */
433: public String getOrganizationPlantChartCode() {
434: return organizationPlantChartCode;
435: }
436:
437: /**
438: * Sets the organizationPlantChartCode attribute.
439: *
440: * @param organizationPlantChartCode The organizationPlantChartCode to set.
441: */
442: public void setOrganizationPlantChartCode(
443: String organizationPlantChartCode) {
444: this .organizationPlantChartCode = organizationPlantChartCode;
445: }
446:
447: /**
448: * Gets the campusPlantChartCode attribute.
449: *
450: * @return Returns the campusPlantChartCode
451: */
452: public String getCampusPlantChartCode() {
453: return campusPlantChartCode;
454: }
455:
456: /**
457: * Sets the campusPlantChartCode attribute.
458: *
459: * @param campusPlantChartCode The campusPlantChartCode to set.
460: */
461: public void setCampusPlantChartCode(String campusPlantChartCode) {
462: this .campusPlantChartCode = campusPlantChartCode;
463: }
464:
465: /**
466: * Gets the organizationCountryCode attribute.
467: *
468: * @return Returns the organizationCountryCode.
469: */
470: public String getOrganizationCountryCode() {
471: return organizationCountryCode;
472: }
473:
474: /**
475: * Sets the organizationCountryCode attribute value.
476: *
477: * @param organizationCountryCode The organizationCountryCode to set.
478: */
479: public void setOrganizationCountryCode(
480: String organizationCountryCode) {
481: this .organizationCountryCode = organizationCountryCode;
482: }
483:
484: /**
485: * Gets the organizationLine1Address attribute.
486: *
487: * @return Returns the organizationLine1Address.
488: */
489: public String getOrganizationLine1Address() {
490: return organizationLine1Address;
491: }
492:
493: /**
494: * Sets the organizationLine1Address attribute value.
495: *
496: * @param organizationLine1Address The organizationLine1Address to set.
497: */
498: public void setOrganizationLine1Address(
499: String organizationLine1Address) {
500: this .organizationLine1Address = organizationLine1Address;
501: }
502:
503: /**
504: * Gets the organizationLine2Address attribute.
505: *
506: * @return Returns the organizationLine2Address.
507: */
508: public String getOrganizationLine2Address() {
509: return organizationLine2Address;
510: }
511:
512: /**
513: * Sets the organizationLine2Address attribute value.
514: *
515: * @param organizationLine2Address The organizationLine2Address to set.
516: */
517: public void setOrganizationLine2Address(
518: String organizationLine2Address) {
519: this .organizationLine2Address = organizationLine2Address;
520: }
521:
522: /**
523: * Gets the chartOfAccounts attribute.
524: *
525: * @return Returns the chartOfAccounts
526: */
527: public Chart getChartOfAccounts() {
528: return chartOfAccounts;
529: }
530:
531: /**
532: * Sets the chartOfAccounts attribute.
533: *
534: * @param chartOfAccounts The chartOfAccounts to set.
535: * @deprecated
536: */
537: public void setChartOfAccounts(Chart chartOfAccounts) {
538: this .chartOfAccounts = chartOfAccounts;
539: }
540:
541: /**
542: * Gets the organizationDefaultAccount attribute.
543: *
544: * @return Returns the organizationDefaultAccount
545: */
546: public Account getOrganizationDefaultAccount() {
547: return organizationDefaultAccount;
548: }
549:
550: /**
551: * Sets the organizationDefaultAccount attribute.
552: *
553: * @param organizationDefaultAccount The organizationDefaultAccount to set.
554: * @deprecated
555: */
556: public void setOrganizationDefaultAccount(
557: Account organizationDefaultAccount) {
558: this .organizationDefaultAccount = organizationDefaultAccount;
559: }
560:
561: /**
562: * Gets the organization attribute.
563: *
564: * @return Returns the organization
565: */
566: public Org getOrganization() {
567: return organization;
568: }
569:
570: /**
571: * Sets the organization attribute.
572: *
573: * @param organization The organization to set.
574: * @deprecated
575: */
576: public void setOrganization(Org organization) {
577: this .organization = organization;
578: }
579:
580: /**
581: * Gets the organizationPhysicalCampus attribute.
582: *
583: * @return Returns the organizationPhysicalCampus
584: */
585: public Campus getOrganizationPhysicalCampus() {
586: return organizationPhysicalCampus;
587: }
588:
589: /**
590: * Sets the organizationPhysicalCampus attribute.
591: *
592: * @param organizationPhysicalCampus The organizationPhysicalCampus to set.
593: * @deprecated
594: */
595: public void setOrganizationPhysicalCampus(
596: Campus organizationPhysicalCampus) {
597: this .organizationPhysicalCampus = organizationPhysicalCampus;
598: }
599:
600: /**
601: * Gets the reportsToOrganization attribute.
602: *
603: * @return Returns the reportsToOrganization
604: */
605: public Org getReportsToOrganization() {
606: return reportsToOrganization;
607: }
608:
609: /**
610: * Sets the reportsToOrganization attribute.
611: *
612: * @param reportsToOrganization The reportsToOrganization to set.
613: * @deprecated
614: */
615: public void setReportsToOrganization(Org reportsToOrganization) {
616: this .reportsToOrganization = reportsToOrganization;
617: }
618:
619: /**
620: * Gets the reportsToChartOfAccounts attribute.
621: *
622: * @return Returns the reportsToChartOfAccounts
623: */
624: public Chart getReportsToChartOfAccounts() {
625: return reportsToChartOfAccounts;
626: }
627:
628: /**
629: * Sets the reportsToChartOfAccounts attribute.
630: *
631: * @param reportsToChartOfAccounts The reportsToChartOfAccounts to set.
632: * @deprecated
633: */
634: public void setReportsToChartOfAccounts(
635: Chart reportsToChartOfAccounts) {
636: this .reportsToChartOfAccounts = reportsToChartOfAccounts;
637: }
638:
639: /**
640: * Gets the organizationPlantAccount attribute.
641: *
642: * @return Returns the organizationPlantAccount
643: */
644: public Account getOrganizationPlantAccount() {
645: return organizationPlantAccount;
646: }
647:
648: /**
649: * Sets the organizationPlantAccount attribute.
650: *
651: * @param organizationPlantAccount The organizationPlantAccount to set.
652: * @deprecated
653: */
654: public void setOrganizationPlantAccount(
655: Account organizationPlantAccount) {
656: this .organizationPlantAccount = organizationPlantAccount;
657: }
658:
659: /**
660: * Gets the campusPlantAccount attribute.
661: *
662: * @return Returns the campusPlantAccount
663: */
664: public Account getCampusPlantAccount() {
665: return campusPlantAccount;
666: }
667:
668: /**
669: * Sets the campusPlantAccount attribute.
670: *
671: * @param campusPlantAccount The campusPlantAccount to set.
672: * @deprecated
673: */
674: public void setCampusPlantAccount(Account campusPlantAccount) {
675: this .campusPlantAccount = campusPlantAccount;
676: }
677:
678: /**
679: * Gets the organizationPlantChart attribute.
680: *
681: * @return Returns the organizationPlantChart
682: */
683: public Chart getOrganizationPlantChart() {
684: return organizationPlantChart;
685: }
686:
687: /**
688: * Sets the organizationPlantChart attribute.
689: *
690: * @param organizationPlantChart The organizationPlantChart to set.
691: * @deprecated
692: */
693: public void setOrganizationPlantChart(Chart organizationPlantChart) {
694: this .organizationPlantChart = organizationPlantChart;
695: }
696:
697: /**
698: * Gets the campusPlantChart attribute.
699: *
700: * @return Returns the campusPlantChart
701: */
702: public Chart getCampusPlantChart() {
703: return campusPlantChart;
704: }
705:
706: /**
707: * Sets the campusPlantChart attribute.
708: *
709: * @param campusPlantChart The campusPlantChart to set.
710: * @deprecated
711: */
712: public void setCampusPlantChart(Chart campusPlantChart) {
713: this .campusPlantChart = campusPlantChart;
714: }
715:
716: /**
717: * Gets the organizationCountry attribute.
718: *
719: * @return Returns the organizationCountry.
720: */
721: public Country getOrganizationCountry() {
722: return organizationCountry;
723: }
724:
725: /**
726: * Sets the organizationCountry attribute value.
727: *
728: * @param organizationCountry The organizationCountry to set.
729: * @deprecated
730: */
731: public void setOrganizationCountry(Country organizationCountry) {
732: this .organizationCountry = organizationCountry;
733: }
734:
735: /**
736: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
737: */
738: protected LinkedHashMap toStringMapper() {
739: LinkedHashMap m = new LinkedHashMap();
740: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
741: m.put("organizationCode", this.organizationCode);
742: return m;
743: }
744: }
|