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.kpme.tklm.time.missedpunch.web;
17  
18  import org.kuali.kpme.tklm.time.missedpunch.MissedPunch;
19  import org.kuali.rice.krad.web.form.TransactionalDocumentFormBase;
20  
21  public class MissedPunchForm extends TransactionalDocumentFormBase {
22  
23  	private static final long serialVersionUID = -5511083730204963887L;
24  	
25  	private MissedPunch missedPunch = new MissedPunch();
26  	
27  	private boolean assignmentReadOnly;
28  	
29  	private boolean missedPunchSubmitted;
30  	
31  	@Override
32  	public String getDocTypeName() {
33  		return "MissedPunchDocumentType";
34  	}
35  
36  	public MissedPunch getMissedPunch() {
37  		return missedPunch;
38  	}
39  
40  	public void setMissedPunch(MissedPunch missedPunch) {
41  		this.missedPunch = missedPunch;
42  	}
43  
44  	public boolean isAssignmentReadOnly() {
45  		return assignmentReadOnly;
46  	}
47  
48  	public void setAssignmentReadOnly(boolean assignmentReadOnly) {
49  		this.assignmentReadOnly = assignmentReadOnly;
50  	}
51  
52  	public boolean isMissedPunchSubmitted() {
53  		return missedPunchSubmitted;
54  	}
55  
56  	public void setMissedPunchSubmitted(boolean missedPunchSubmitted) {
57  		this.missedPunchSubmitted = missedPunchSubmitted;
58  	}
59  
60  }