View Javadoc

1   /**
2    * Copyright 2004-2013 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.hr.lm.workflow;
17  
18  import java.util.Date;
19  
20  import org.kuali.hr.core.document.CalendarDocumentHeaderContract;
21  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22  
23  public class LeaveCalendarDocumentHeader extends PersistableBusinessObjectBase implements CalendarDocumentHeaderContract {
24  
25      private String documentId;
26      private String principalId;
27      private Date beginDate;
28      private Date endDate;
29      private String documentStatus;
30  
31      public LeaveCalendarDocumentHeader() {
32  
33      }
34  
35      public LeaveCalendarDocumentHeader(String documentId, String principalId, Date beginDate, Date endDate, String documentStatus) {
36  		this.documentId = documentId;
37  		this.principalId = principalId;
38  		this.beginDate = beginDate;
39  		this.endDate = endDate;
40  		this.documentStatus = documentStatus;
41  	}
42  
43      @Override
44      public String getDocumentId() {
45          return documentId;
46      }
47  
48      public void setDocumentId(String documentId) {
49          this.documentId = documentId;
50      }
51  
52      @Override
53      public String getDocumentStatus() {
54          return documentStatus;
55      }
56  
57      public void setDocumentStatus(String documentStatus) {
58          this.documentStatus = documentStatus;
59      }
60  
61      @Override
62      public Date getBeginDate() {
63          return beginDate;
64      }
65  
66      public void setBeginDate(Date beginDate) {
67          this.beginDate = beginDate;
68      }
69  
70      @Override
71      public Date getEndDate() {
72          return endDate;
73      }
74  
75      public void setEndDate(Date payEndDate) {
76          this.endDate = payEndDate;
77      }
78  
79      @Override
80      public String getPrincipalId() {
81          return principalId;
82      }
83  
84      public void setPrincipalId(String principalId) {
85          this.principalId = principalId;
86      }
87  }