KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nextime > ion > backoffice > bean > PropertyBean


1 package org.nextime.ion.backoffice.bean;
2
3 public class PropertyBean {
4
5     private String JavaDoc label;
6     private String JavaDoc name;
7     private String JavaDoc regexp;
8     private String JavaDoc type;
9     private String JavaDoc errorMessage;
10     private String JavaDoc required;
11     
12     public void setSectionType( TypeBean type ) {
13         type.addProperty(this);
14     }
15     
16     /**
17      * Returns the errorMessage.
18      * @return String
19      */

20     public String JavaDoc getErrorMessage() {
21         return errorMessage;
22     }
23
24
25     /**
26      * Returns the label.
27      * @return String
28      */

29     public String JavaDoc getLabel() {
30         return label;
31     }
32
33
34     /**
35      * Returns the name.
36      * @return String
37      */

38     public String JavaDoc getName() {
39         return name;
40     }
41
42
43     /**
44      * Returns the regexp.
45      * @return String
46      */

47     public String JavaDoc getRegexp() {
48         return regexp;
49     }
50
51
52     /**
53      * Returns the required.
54      * @return String
55      */

56     public String JavaDoc getRequired() {
57         return required;
58     }
59
60
61     /**
62      * Returns the type.
63      * @return String
64      */

65     public String JavaDoc getType() {
66         return type;
67     }
68
69
70     /**
71      * Sets the errorMessage.
72      * @param errorMessage The errorMessage to set
73      */

74     public void setErrorMessage(String JavaDoc errorMessage) {
75         this.errorMessage = errorMessage;
76     }
77
78
79     /**
80      * Sets the label.
81      * @param label The label to set
82      */

83     public void setLabel(String JavaDoc label) {
84         this.label = label;
85     }
86
87
88     /**
89      * Sets the name.
90      * @param name The name to set
91      */

92     public void setName(String JavaDoc name) {
93         this.name = name;
94     }
95
96
97     /**
98      * Sets the regexp.
99      * @param regexp The regexp to set
100      */

101     public void setRegexp(String JavaDoc regexp) {
102         this.regexp = regexp;
103     }
104
105
106     /**
107      * Sets the required.
108      * @param required The required to set
109      */

110     public void setRequired(String JavaDoc required) {
111         this.required = required;
112     }
113
114
115     /**
116      * Sets the type.
117      * @param type The type to set
118      */

119     public void setType(String JavaDoc type) {
120         this.type = type;
121     }
122
123
124 }
125
Popular Tags