KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > bean > ParamValueBean


1 package org.jahia.clipbuilder.html.bean;
2
3 import org.jahia.clipbuilder.html.util.*;
4
5 /**
6  * Description of the Class
7  *
8  *@author Tlili Khaled
9  */

10 public class ParamValueBean extends Bean {
11     private FormParamBean formParamBean;
12     private String JavaDoc value;
13
14
15     /**
16      * Constructor for the ParamValueBean object
17      */

18     public ParamValueBean() {
19
20     }
21
22
23     /**
24      * Constructor for the AllowedValueBean object
25      *
26      *@param formParamBean Description of Parameter
27      *@param value Description of Parameter
28      */

29     public ParamValueBean(FormParamBean formParamBean, String JavaDoc value) {
30         setFormParamBean(formParamBean);
31         setValue(value);
32     }
33
34
35     /**
36      * Sets the Value attribute of the AllowedValueBean object
37      *
38      *@param value The new Value value
39      */

40     public void setValue(String JavaDoc value) {
41         this.value = value;
42     }
43
44
45     /**
46      * Sets the FormParamBean attribute of the ParamValueBean object
47      *
48      *@param formParamBean The new FormParamBean value
49      */

50     public void setFormParamBean(FormParamBean formParamBean) {
51         this.formParamBean = formParamBean;
52     }
53
54
55     /**
56      * Gets the Value attribute of the AllowedValueBean object
57      *
58      *@return The Value value
59      */

60     public String JavaDoc getValue() {
61         return value;
62     }
63
64
65     /**
66      * Gets the FormParamBean attribute of the ParamValueBean object
67      *
68      *@return The FormParamBean value
69      */

70     public FormParamBean getFormParamBean() {
71         return formParamBean;
72     }
73
74 }
75
Popular Tags