View Javadoc

1   /**
2    * Copyright 2004-2012 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.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  public class TimesheetDocumentHeader extends PersistableBusinessObjectBase {
23  
24  	private static final long serialVersionUID = 1L;
25  	private String documentId;
26  	private String principalId;
27  	private Date payBeginDate;
28  	private Date payEndDate;
29  	private String documentStatus;
30      private String objectId;
31      private Long versionNumber;
32  
33  	public TimesheetDocumentHeader() {
34  		
35  	}
36  	
37  	public TimesheetDocumentHeader(String documentId, String principalId, Date payBeginDate, Date payEndDate, String documentStatus) {
38  		this.documentId = documentId;
39  		this.principalId = principalId;
40  		this.payBeginDate = payBeginDate;
41  		this.payEndDate = payEndDate;
42  		this.documentStatus = documentStatus;
43  	}
44  
45  	public String getDocumentId() {
46  		return documentId;
47  	}
48  
49  	public void setDocumentId(String documentId) {
50  		this.documentId = documentId;
51  	}
52  
53  	public String getPrincipalId() {
54  		return principalId;
55  	}
56  
57  	public void setPrincipalId(String principalId) {
58  		this.principalId = principalId;
59  	}
60  
61  	public Date getPayEndDate() {
62  		return payEndDate;
63  	}
64  
65  	public void setPayEndDate(Date payEndDate) {
66  		this.payEndDate = payEndDate;
67  	}
68  
69  	public String getDocumentStatus() {
70  		return documentStatus;
71  	}
72  
73  	public void setDocumentStatus(String documentStatus) {
74  		this.documentStatus = documentStatus;
75  	}
76  
77      public Date getPayBeginDate() {
78  		return payBeginDate;
79  	}
80  
81  	public void setPayBeginDate(Date payBeginDate) {
82  		this.payBeginDate = payBeginDate;
83  	}
84  	
85  	public String getObjectId() {
86          return objectId;
87      }
88  
89      public void setObjectId(String objectId) {
90          this.objectId = objectId;
91      }
92  
93      public Long getVersionNumber() {
94          return versionNumber;
95      }
96  
97      public void setVersionNumber(long versionNumber) {
98          this.versionNumber = versionNumber;
99      }
100 
101 }