KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > displaytag > test > KnownValue


1 package org.displaytag.test;
2
3 /**
4  * Simple test data provider.
5  * @author rapruitt
6  * @version $Revision: 351 $ ($Author: fgiust $)
7  */

8 public class KnownValue
9 {
10
11     /**
12      * constant for the "ant" property (this is both the property name and value).
13      */

14     public static final String JavaDoc ANT = "ant";
15
16     /**
17      * constant for the "bee" property (this is both the property name and value).
18      */

19     public static final String JavaDoc BEE = "bee";
20
21     /**
22      * constant for the "camel" property (this is both the property name and value).
23      */

24     public static final String JavaDoc CAMEL = "camel";
25
26     /**
27      * getter for the "ant" property.
28      * @return ANT
29      */

30     public String JavaDoc getAnt()
31     {
32         return ANT;
33     }
34
35     /**
36      * getter for the "bee" property.
37      * @return BEE
38      */

39     public String JavaDoc getBee()
40     {
41         return BEE;
42     }
43
44     /**
45      * getter for the "camel" property.
46      * @return CAMEL
47      */

48     public String JavaDoc getCamel()
49     {
50         return CAMEL;
51     }
52 }
53
Popular Tags