KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jahia.clipbuilder.html.bean;
2
3 /**
4  * Bean representing parameter
5  *
6  *@author Tlili Khaled
7  */

8 public abstract class ParameterBean extends Bean {
9
10     private String JavaDoc name;
11     private UrlBean urlBean;
12     private int position;
13
14     private static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(ParameterBean.class);
15
16
17
18     /**
19      * Constructor for the ParameterBean object
20      *
21      *@param urlBean Description of Parameter
22      *@param name Description of Parameter
23      *@param position Description of Parameter
24      */

25
26     public ParameterBean(UrlBean urlBean, String JavaDoc name, int position) {
27         setUrlBean(urlBean);
28         setName(name);
29         setPosition(position);
30     }
31
32
33     /**
34      * Sets the Name attribute of the ParameterBean object
35      *
36      *@param name The new Name value
37      */

38     public void setName(String JavaDoc name) {
39         this.name = name;
40     }
41
42
43     /**
44      * Sets the UrlBean attribute of the ParameterBean object
45      *
46      *@param urlBean The new UrlBean value
47      */

48     public void setUrlBean(UrlBean urlBean) {
49         this.urlBean = urlBean;
50     }
51
52
53     /**
54      * Sets the Position attribute of the ParameterBean object
55      *
56      *@param position The new Position value
57      */

58     public void setPosition(int position) {
59         this.position = position;
60     }
61
62
63     /**
64      * Gets the Name attribute of the ParameterBean object
65      *
66      *@return The Name value
67      */

68     public String JavaDoc getName() {
69         return name;
70     }
71
72
73     /**
74      * Gets the UrlBean attribute of the ParameterBean object
75      *
76      *@return The UrlBean value
77      */

78     public UrlBean getUrlBean() {
79         return urlBean;
80     }
81
82
83     /**
84      * Gets the Position attribute of the ParameterBean object
85      *
86      *@return The Position value
87      */

88     public int getPosition() {
89         return position;
90     }
91
92 }
93
Popular Tags