001 /** 002 * Copyright 2004-2012 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.time.workflow; 017 018 import java.util.Date; 019 020 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 021 022 public class TimesheetDocumentHeader extends PersistableBusinessObjectBase { 023 024 private static final long serialVersionUID = 1L; 025 private String documentId; 026 private String principalId; 027 private Date payBeginDate; 028 private Date payEndDate; 029 private String documentStatus; 030 private String objectId; 031 private Long versionNumber; 032 033 public TimesheetDocumentHeader() { 034 035 } 036 037 public TimesheetDocumentHeader(String documentId, String principalId, Date payBeginDate, Date payEndDate, String documentStatus) { 038 this.documentId = documentId; 039 this.principalId = principalId; 040 this.payBeginDate = payBeginDate; 041 this.payEndDate = payEndDate; 042 this.documentStatus = documentStatus; 043 } 044 045 public String getDocumentId() { 046 return documentId; 047 } 048 049 public void setDocumentId(String documentId) { 050 this.documentId = documentId; 051 } 052 053 public String getPrincipalId() { 054 return principalId; 055 } 056 057 public void setPrincipalId(String principalId) { 058 this.principalId = principalId; 059 } 060 061 public Date getPayEndDate() { 062 return payEndDate; 063 } 064 065 public void setPayEndDate(Date payEndDate) { 066 this.payEndDate = payEndDate; 067 } 068 069 public String getDocumentStatus() { 070 return documentStatus; 071 } 072 073 public void setDocumentStatus(String documentStatus) { 074 this.documentStatus = documentStatus; 075 } 076 077 public Date getPayBeginDate() { 078 return payBeginDate; 079 } 080 081 public void setPayBeginDate(Date payBeginDate) { 082 this.payBeginDate = payBeginDate; 083 } 084 085 public String getObjectId() { 086 return objectId; 087 } 088 089 public void setObjectId(String objectId) { 090 this.objectId = objectId; 091 } 092 093 public Long getVersionNumber() { 094 return versionNumber; 095 } 096 097 public void setVersionNumber(long versionNumber) { 098 this.versionNumber = versionNumber; 099 } 100 101 }