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.budget.bo;
018:
019: import java.sql.Date;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023:
024: /**
025: *
026: */
027: public class AppointmentTypeEffectiveDate extends
028: PersistableBusinessObjectBase {
029:
030: private String appointmentTypeCode;
031: private Integer institutionFiscalYear;
032: private Date appointmentTypeBeginDate;
033: private Date appointmentTypeEndDate;
034:
035: /**
036: * Default constructor.
037: */
038: public AppointmentTypeEffectiveDate() {
039:
040: }
041:
042: public AppointmentTypeEffectiveDate(String appointmentTypeCode,
043: Integer institutionFiscalYear) {
044: this ();
045: this .appointmentTypeCode = appointmentTypeCode;
046: this .institutionFiscalYear = institutionFiscalYear;
047: }
048:
049: /**
050: * Gets the appointmentTypeCode attribute.
051: *
052: * @return Returns the appointmentTypeCode
053: */
054: public String getAppointmentTypeCode() {
055: return appointmentTypeCode;
056: }
057:
058: /**
059: * Sets the institutionAppointmentTypeCode attribute.
060: *
061: * @param institutionAppointmentTypeCode The institutionAppointmentTypeCode to set.
062: */
063: public void setAppointmentTypeCode(String appointmentTypeCode) {
064: this .appointmentTypeCode = appointmentTypeCode;
065: }
066:
067: /**
068: * Gets the institutionFiscalYear attribute.
069: *
070: * @return Returns the institutionFiscalYear
071: */
072: public Integer getInstitutionFiscalYear() {
073: return institutionFiscalYear;
074: }
075:
076: /**
077: * Sets the institutionFiscalYear attribute.
078: *
079: * @param institutionFiscalYear The institutionFiscalYear to set.
080: */
081: public void setInstitutionFiscalYear(Integer institutionFiscalYear) {
082: this .institutionFiscalYear = institutionFiscalYear;
083: }
084:
085: /**
086: * Gets the appointmentTypeBeginDate attribute.
087: *
088: * @return Returns the appointmentTypeBeginDate
089: */
090: public Date getAppointmentTypeBeginDate() {
091: return appointmentTypeBeginDate;
092: }
093:
094: /**
095: * Sets the appointmentTypeBeginDate attribute.
096: *
097: * @param appointmentTypeBeginDate The appointmentTypeBeginDate to set.
098: */
099: public void setAppointmentTypeBeginDate(
100: Date appointmentTypeBeginDate) {
101: this .appointmentTypeBeginDate = appointmentTypeBeginDate;
102: }
103:
104: /**
105: * Gets the appointmentTypeEndDate attribute.
106: *
107: * @return Returns the appointmentTypeEndDate
108: */
109: public Date getAppointmentTypeEndDate() {
110: return appointmentTypeEndDate;
111: }
112:
113: /**
114: * Sets the appointmentTypeEndDate attribute.
115: *
116: * @param appointmentTypeEndDate The appointmentTypeEndDate to set.
117: */
118: public void setAppointmentTypeEndDate(Date appointmentTypeEndDate) {
119: this .appointmentTypeEndDate = appointmentTypeEndDate;
120: }
121:
122: /**
123: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
124: */
125: protected LinkedHashMap toStringMapper() {
126: LinkedHashMap m = new LinkedHashMap();
127: return m;
128: }
129: }
|