1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 }