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.time.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 TimesheetDocumentHeader extends PersistableBusinessObjectBase implements CalendarDocumentHeaderContract {
24  
25  	private static final long serialVersionUID = 1L;
26  	private String documentId;
27  	private String principalId;
28  	private Date beginDate;
29  	private Date endDate;
30  	private String documentStatus;
31  
32  	public TimesheetDocumentHeader() {
33  		
34  	}
35  	
36  	public TimesheetDocumentHeader(String documentId, String principalId, Date payBeginDate, Date payEndDate, String documentStatus) {
37  		this.documentId = documentId;
38  		this.principalId = principalId;
39  		this.beginDate = payBeginDate;
40  		this.endDate = payEndDate;
41  		this.documentStatus = documentStatus;
42  	}
43  
44      @Override
45  	public String getDocumentId() {
46  		return documentId;
47  	}
48  
49  	public void setDocumentId(String documentId) {
50  		this.documentId = documentId;
51  	}
52  
53      @Override
54  	public String getPrincipalId() {
55  		return principalId;
56  	}
57  
58  	public void setPrincipalId(String principalId) {
59  		this.principalId = principalId;
60  	}
61  
62      @Override
63  	public Date getEndDate() {
64  		return endDate;
65  	}
66  
67  	public void setEndDate(Date endDate) {
68  		this.endDate = endDate;
69  	}
70  
71      @Override
72  	public String getDocumentStatus() {
73  		return documentStatus;
74  	}
75  
76  	public void setDocumentStatus(String documentStatus) {
77  		this.documentStatus = documentStatus;
78  	}
79  
80      @Override
81  	public Date getBeginDate() {
82  		return beginDate;
83  	}
84  
85  	public void setBeginDate(Date beginDate) {
86  		this.beginDate = beginDate;
87  	}
88  
89  }