001 /**
002 * Copyright 2004-2013 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.hr.lm.workflow;
017
018 import java.util.Date;
019
020 import org.kuali.hr.core.document.CalendarDocumentHeaderContract;
021 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
022
023 public class LeaveCalendarDocumentHeader extends PersistableBusinessObjectBase implements CalendarDocumentHeaderContract {
024
025 private String documentId;
026 private String principalId;
027 private Date beginDate;
028 private Date endDate;
029 private String documentStatus;
030
031 public LeaveCalendarDocumentHeader() {
032
033 }
034
035 public LeaveCalendarDocumentHeader(String documentId, String principalId, Date beginDate, Date endDate, String documentStatus) {
036 this.documentId = documentId;
037 this.principalId = principalId;
038 this.beginDate = beginDate;
039 this.endDate = endDate;
040 this.documentStatus = documentStatus;
041 }
042
043 @Override
044 public String getDocumentId() {
045 return documentId;
046 }
047
048 public void setDocumentId(String documentId) {
049 this.documentId = documentId;
050 }
051
052 @Override
053 public String getDocumentStatus() {
054 return documentStatus;
055 }
056
057 public void setDocumentStatus(String documentStatus) {
058 this.documentStatus = documentStatus;
059 }
060
061 @Override
062 public Date getBeginDate() {
063 return beginDate;
064 }
065
066 public void setBeginDate(Date beginDate) {
067 this.beginDate = beginDate;
068 }
069
070 @Override
071 public Date getEndDate() {
072 return endDate;
073 }
074
075 public void setEndDate(Date payEndDate) {
076 this.endDate = payEndDate;
077 }
078
079 @Override
080 public String getPrincipalId() {
081 return principalId;
082 }
083
084 public void setPrincipalId(String principalId) {
085 this.principalId = principalId;
086 }
087 }