| 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.PropertyElement; |
| 23 | |
import org.seasar.teeda.core.config.faces.element.ValidatorElement; |
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
public class ValidatorElementImpl implements ValidatorElement { |
| 29 | |
|
| 30 | |
private String validatorId_; |
| 31 | |
|
| 32 | |
private String validatorClass_; |
| 33 | |
|
| 34 | 2 | private List attributeElements_ = new ArrayList(); |
| 35 | |
|
| 36 | 2 | private List propertyElements_ = new ArrayList(); |
| 37 | |
|
| 38 | 2 | public ValidatorElementImpl() { |
| 39 | 2 | } |
| 40 | |
|
| 41 | |
public void setValidatorId(String validatorId) { |
| 42 | 2 | validatorId_ = validatorId; |
| 43 | 2 | } |
| 44 | |
|
| 45 | |
public void setValidatorClass(String validatorClassName) { |
| 46 | 2 | validatorClass_ = validatorClassName; |
| 47 | 2 | } |
| 48 | |
|
| 49 | |
public String getValidatorId() { |
| 50 | 2 | return validatorId_; |
| 51 | |
} |
| 52 | |
|
| 53 | |
public String getValidatorClass() { |
| 54 | 1 | return validatorClass_; |
| 55 | |
} |
| 56 | |
|
| 57 | |
public void addAttributeElement(AttributeElement attribute) { |
| 58 | 1 | attributeElements_.add(attribute); |
| 59 | 1 | } |
| 60 | |
|
| 61 | |
public void addPropertyElement(PropertyElement property) { |
| 62 | 0 | propertyElements_.add(property); |
| 63 | 0 | } |
| 64 | |
|
| 65 | |
public List getAttributeElements() { |
| 66 | 1 | return attributeElements_; |
| 67 | |
} |
| 68 | |
|
| 69 | |
public List getPropertyElements() { |
| 70 | 0 | return propertyElements_; |
| 71 | |
} |
| 72 | |
|
| 73 | |
} |