2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.tiger.managed.config;
19
20 /***
21 * <p>Representation of the runtime relevant contents of a JavaServer Faces
22 * <code><list-entry></code> configuration element.</p>
23 */
24 public class ListEntryConfig implements NullValueHolder {
25
26 /*** Creates a new instance of ListEntryConfig. */
27 public ListEntryConfig() {
28 }
29
30 /***
31 * <p>Return <code>true</code> if the specified <code>value</code>
32 * is a value binding expression, rather than a literal value.</p>
33 */
34 public boolean isExpression() {
35 return (value != null) && value.startsWith("#{")
36 && value.endsWith("}");
37 }
38
39 /***
40 * Holds value of property value.
41 */
42 private String value;
43
44 /***
45 * Getter for property value.
46 * @return Value of property value.
47 */
48 public String getValue() {
49
50 return this.value;
51 }
52
53 /***
54 * Setter for property value.
55 * @param value New value of property value.
56 */
57 public void setValue(String value) {
58
59 this.value = value;
60 }
61
62 /***
63 * Holds value of property nullValue.
64 */
65 private boolean nullValue;
66
67 /***
68 * Getter for property nullValue.
69 * @return Value of property nullValue.
70 */
71 public boolean isNullValue() {
72
73 return this.nullValue;
74 }
75
76 /***
77 * Setter for property nullValue.
78 * @param nullValue New value of property nullValue.
79 */
80 public void setNullValue(boolean nullValue) {
81
82 this.nullValue = nullValue;
83 }
84
85 }