| 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 | |
import org.seasar.teeda.core.config.faces.element.ComponentElement; |
| 23 | |
import org.seasar.teeda.core.config.faces.element.FacetElement; |
| 24 | |
import org.seasar.teeda.core.config.faces.element.PropertyElement; |
| 25 | |
|
| 26 | |
public class ComponentElementImpl implements ComponentElement { |
| 27 | |
|
| 28 | |
private String componentType_; |
| 29 | |
|
| 30 | |
private String componentClass_; |
| 31 | |
|
| 32 | 8 | private List attributes_ = new ArrayList(); |
| 33 | |
|
| 34 | 8 | private List properties_ = new ArrayList(); |
| 35 | |
|
| 36 | 8 | private List facets_ = new ArrayList(); |
| 37 | |
|
| 38 | 8 | public ComponentElementImpl() { |
| 39 | 8 | } |
| 40 | |
|
| 41 | |
public void setComponentType(String componentType) { |
| 42 | 5 | componentType_ = componentType; |
| 43 | 5 | } |
| 44 | |
|
| 45 | |
public void setComponentClass(String componentClass) { |
| 46 | 5 | componentClass_ = componentClass; |
| 47 | 5 | } |
| 48 | |
|
| 49 | |
public String getComponentType() { |
| 50 | 6 | return componentType_; |
| 51 | |
} |
| 52 | |
|
| 53 | |
public String getComponentClass() { |
| 54 | 3 | return componentClass_; |
| 55 | |
} |
| 56 | |
|
| 57 | |
public void addAttributeElement(AttributeElement attribute) { |
| 58 | 3 | attributes_.add(attribute); |
| 59 | 3 | } |
| 60 | |
|
| 61 | |
public void addPropertyElement(PropertyElement property) { |
| 62 | 1 | properties_.add(property); |
| 63 | 1 | } |
| 64 | |
|
| 65 | |
public void addFacetElement(FacetElement facet) { |
| 66 | 3 | facets_.add(facet); |
| 67 | 3 | } |
| 68 | |
|
| 69 | |
public List getPropertyElements() { |
| 70 | 1 | return properties_; |
| 71 | |
} |
| 72 | |
|
| 73 | |
public List getFacetElements() { |
| 74 | 3 | return facets_; |
| 75 | |
} |
| 76 | |
|
| 77 | |
public List getAttributeElements() { |
| 78 | 5 | return attributes_; |
| 79 | |
} |
| 80 | |
|
| 81 | |
} |