%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
net.sf.infrared.web.formbean.LayerTimeBean |
|
|
1 | /* |
|
2 | * |
|
3 | * Copyright 2005 Tavant Technologies and Contributors |
|
4 | * |
|
5 | * Licensed under the Apache License, Version 2.0 (the "License") |
|
6 | * you may not use this file except in compliance with the License. |
|
7 | * You may obtain a copy of the License at |
|
8 | * |
|
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
10 | * |
|
11 | * Unless required by applicable law or agreed to in writing, software |
|
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 | * See the License for the specific language governing permissions and |
|
15 | * limitations under the License. |
|
16 | * |
|
17 | * |
|
18 | * |
|
19 | * Original Author: prashant.nair (Tavant Technologies) |
|
20 | * Contributor(s): -; |
|
21 | * |
|
22 | */ |
|
23 | package net.sf.infrared.web.formbean; |
|
24 | ||
25 | import net.sf.infrared.web.util.ViewUtil; |
|
26 | ||
27 | import org.apache.struts.action.ActionForm; |
|
28 | ||
29 | 0 | public class LayerTimeBean extends ActionForm { |
30 | private String layer; |
|
31 | ||
32 | private String time; |
|
33 | ||
34 | public String getLayer() { |
|
35 | 0 | return layer; |
36 | } |
|
37 | ||
38 | public void setLayer(String layer) { |
|
39 | 0 | this.layer = layer; |
40 | 0 | } |
41 | ||
42 | public String getTime() { |
|
43 | 0 | return ViewUtil.getFormattedTime(time, 2); |
44 | } |
|
45 | ||
46 | public void setTime(String time) { |
|
47 | 0 | this.time = time; |
48 | 0 | } |
49 | ||
50 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |