1 package org.displaytag.decorator;
2
3 /**
4 * Test decorator used in tests.
5 * @author Fabrizio Giustina
6 * @version $Revision: 907 $ ($Author: fgiust $)
7 */
8 public class TableDecoratorOne extends TableDecorator
9 {
10
11 /**
12 * getter property for "one".
13 * @return "one"
14 */
15 public String getOne()
16 {
17 return "one";
18 }
19
20 /**
21 * getter for a mapped property.
22 * @param key property name
23 * @return "mapped property"
24 */
25 public String getMapped(String key)
26 {
27 return "mapped property";
28 }
29
30 /**
31 * getter for an indexed property.
32 * @param key property index
33 * @return "indexed property"
34 */
35 public String getIndexed(int key)
36 {
37 return "indexed property";
38 }
39 }