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.AttributeElement; |
22 | |
|
23 | |
public class AttributeElementImpl implements AttributeElement { |
24 | |
|
25 | |
private String attributeName_; |
26 | |
|
27 | |
private String attributeClass_; |
28 | |
|
29 | |
private String defaultValue_; |
30 | |
|
31 | |
private String suggestedValue_; |
32 | |
|
33 | 7 | private List attributeExtensions_ = new ArrayList(); |
34 | |
|
35 | 7 | public AttributeElementImpl() { |
36 | 7 | } |
37 | |
|
38 | |
public void setAttributeName(String attributeName) { |
39 | 5 | attributeName_ = attributeName; |
40 | 5 | } |
41 | |
|
42 | |
public void setAttributeClass(String attributeClass) { |
43 | 5 | attributeClass_ = attributeClass; |
44 | 5 | } |
45 | |
|
46 | |
public void setDefaultValue(String defaultValue) { |
47 | 1 | defaultValue_ = defaultValue; |
48 | 1 | } |
49 | |
|
50 | |
public void setSuggestedValue(String suggestedValue) { |
51 | 0 | suggestedValue_ = suggestedValue; |
52 | 0 | } |
53 | |
|
54 | |
public String getAttributeName() { |
55 | 5 | return attributeName_; |
56 | |
} |
57 | |
|
58 | |
public String getAttributeClass() { |
59 | 5 | return attributeClass_; |
60 | |
} |
61 | |
|
62 | |
public String getDefaultValue() { |
63 | 1 | return defaultValue_; |
64 | |
} |
65 | |
|
66 | |
public String getSuggestedValue() { |
67 | 0 | return suggestedValue_; |
68 | |
} |
69 | |
|
70 | |
public void addAttributeExtension(String attributeExtension) { |
71 | 0 | attributeExtensions_.add(attributeExtension); |
72 | 0 | } |
73 | |
|
74 | |
public List getAttributeExtensions() { |
75 | 0 | return attributeExtensions_; |
76 | |
} |
77 | |
|
78 | |
} |