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 import java.util.ArrayList;
21 import java.util.List;
22
23 /***
24 * <p>Representation of the runtime relevant contents of a JavaServer Faces
25 * <code><list-entries></code> configuration element.</p>
26 */
27 public class ListEntriesConfig {
28
29 /*** Creates a new instance of ListEntriesConfig. */
30 public ListEntriesConfig() {
31 }
32
33 /***
34 * Holds value of property valueType.
35 */
36 private String valueType;
37
38 /***
39 * Getter for property type.
40 * @return Value of property type.
41 */
42 public String getValueType() {
43
44 return this.valueType;
45 }
46
47 /***
48 * Setter for property type.
49 * @param valueType New value of property type.
50 */
51 public void setValueType(String valueType) {
52
53 this.valueType = valueType;
54 }
55
56
57 /***
58 * <p>List of entries for configuring this list.</p>
59 */
60 private List<ListEntryConfig> entries = new ArrayList<ListEntryConfig>();
61
62
63 /***
64 * <p>Add a new entry to the entries for this list.</p>
65 *
66 * @param entry Entry to be added
67 */
68 public void addEntry(ListEntryConfig entry) {
69 this.entries.add(entry);
70 }
71
72
73 /***
74 * <p>Return the entries for configuring this list.</p>
75 */
76 public List<ListEntryConfig> getEntries() {
77 return this.entries;
78 }
79
80
81 }