1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.seasar.teeda.core.config.faces.element.impl; |
17 | |
|
18 | |
import java.util.ArrayList; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.seasar.teeda.core.config.faces.element.PropertyElement; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public class PropertyElementImpl implements PropertyElement { |
27 | |
|
28 | |
private String propertyName_; |
29 | |
|
30 | |
private String propertyClass_; |
31 | |
|
32 | |
private String defaultValue_; |
33 | |
|
34 | |
private String suggestedValue_; |
35 | |
|
36 | 4 | private List propertyExtensions_ = new ArrayList(); |
37 | |
|
38 | 4 | public PropertyElementImpl() { |
39 | 4 | } |
40 | |
|
41 | |
public void setPropertyName(String propertyName) { |
42 | 3 | propertyName_ = propertyName; |
43 | 3 | } |
44 | |
|
45 | |
public void setPropertyClass(String propertyClass) { |
46 | 3 | propertyClass_ = propertyClass; |
47 | 3 | } |
48 | |
|
49 | |
public void setDefaultValue(String defaultValue) { |
50 | 3 | defaultValue_ = defaultValue; |
51 | 3 | } |
52 | |
|
53 | |
public void setSuggestedValue(String suggestedValue) { |
54 | 0 | suggestedValue_ = suggestedValue; |
55 | 0 | } |
56 | |
|
57 | |
public String getPropertyName() { |
58 | 3 | return propertyName_; |
59 | |
} |
60 | |
|
61 | |
public String getPropertyClass() { |
62 | 3 | return propertyClass_; |
63 | |
} |
64 | |
|
65 | |
public String getDefaultValue() { |
66 | 4 | return defaultValue_; |
67 | |
} |
68 | |
|
69 | |
public String getSuggestedValue() { |
70 | 0 | return suggestedValue_; |
71 | |
} |
72 | |
|
73 | |
public void addPropertyExtension(String propertyExtension) { |
74 | 0 | propertyExtensions_.add(propertyExtension); |
75 | 0 | } |
76 | |
|
77 | |
public List getPropertyExtensions() { |
78 | 0 | return propertyExtensions_; |
79 | |
} |
80 | |
|
81 | |
} |