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.service.mobile;
17  
18  import java.io.Serializable;
19  import java.sql.Timestamp;
20  import java.util.ArrayList;
21  import java.util.HashMap;
22  import java.util.List;
23  import java.util.Map;
24  
25  import org.kuali.kpme.tklm.api.time.service.mobile.ClockEntryInfoContract;
26  
27  public class ClockEntryInfo implements Serializable, ClockEntryInfoContract {
28  
29  	private static final long serialVersionUID = 7132787403000141501L;
30  
31  	private Timestamp currentTime;
32  	
33  	private Map<String, String> assignKeyToAssignmentDescriptions = new HashMap<String,String>();
34  	private String lastClockLogDescription;
35  	private List<String> clockActions = new ArrayList<String>();
36  	
37  	public Map<String, String> getAssignKeyToAssignmentDescriptions() {
38  		return assignKeyToAssignmentDescriptions;
39  	}
40  	public void setAssignKeyToAssignmentDescriptions(
41  			Map<String, String> assignKeyToAssignmentDescriptions) {
42  		this.assignKeyToAssignmentDescriptions = assignKeyToAssignmentDescriptions;
43  	}
44  	public String getLastClockLogDescription() {
45  		return lastClockLogDescription;
46  	}
47  	public void setLastClockLogDescription(String lastClockLogDescription) {
48  		this.lastClockLogDescription = lastClockLogDescription;
49  	}
50  	public List<String> getClockActions() {
51  		return clockActions;
52  	}
53  	public void setClockActions(List<String> clockActions) {
54  		this.clockActions = clockActions;
55  	}
56  	public Timestamp getCurrentTime() {
57  		return currentTime;
58  	}
59  	public void setCurrentTime(Timestamp currentTime) {
60  		this.currentTime = currentTime;
61  	}
62  }