001    /**
002     * Copyright 2004-2013 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.hr.core.document.CalendarDocumentHeaderContract;
021    import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
022    
023    public class TimesheetDocumentHeader extends PersistableBusinessObjectBase implements CalendarDocumentHeaderContract {
024    
025            private static final long serialVersionUID = 1L;
026            private String documentId;
027            private String principalId;
028            private Date beginDate;
029            private Date endDate;
030            private String documentStatus;
031    
032            public TimesheetDocumentHeader() {
033                    
034            }
035            
036            public TimesheetDocumentHeader(String documentId, String principalId, Date payBeginDate, Date payEndDate, String documentStatus) {
037                    this.documentId = documentId;
038                    this.principalId = principalId;
039                    this.beginDate = payBeginDate;
040                    this.endDate = payEndDate;
041                    this.documentStatus = documentStatus;
042            }
043    
044        @Override
045            public String getDocumentId() {
046                    return documentId;
047            }
048    
049            public void setDocumentId(String documentId) {
050                    this.documentId = documentId;
051            }
052    
053        @Override
054            public String getPrincipalId() {
055                    return principalId;
056            }
057    
058            public void setPrincipalId(String principalId) {
059                    this.principalId = principalId;
060            }
061    
062        @Override
063            public Date getEndDate() {
064                    return endDate;
065            }
066    
067            public void setEndDate(Date endDate) {
068                    this.endDate = endDate;
069            }
070    
071        @Override
072            public String getDocumentStatus() {
073                    return documentStatus;
074            }
075    
076            public void setDocumentStatus(String documentStatus) {
077                    this.documentStatus = documentStatus;
078            }
079    
080        @Override
081            public Date getBeginDate() {
082                    return beginDate;
083            }
084    
085            public void setBeginDate(Date beginDate) {
086                    this.beginDate = beginDate;
087            }
088    
089    }