Package org.faktorips.runtime.internal
Class ValidationRuleConfiguration
- java.lang.Object
-
- org.faktorips.runtime.internal.ValidationRuleConfiguration
-
public class ValidationRuleConfiguration extends java.lang.ObjectClass representing a validation rule configuration at runtime.- Author:
- Stefan Widmaier, FaktorZehn AG
-
-
Constructor Summary
Constructors Constructor Description ValidationRuleConfiguration(java.lang.String name, boolean active)Creates aValidationRuleConfigurationwith the given name and activation state.ValidationRuleConfiguration(org.w3c.dom.Element element)Creates aValidationRuleConfigurationand initializes it with the data provided by the given element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRuleName()booleanisActive()Flag indicating whether the validation rule is configured as active.
-
-
-
Constructor Detail
-
ValidationRuleConfiguration
public ValidationRuleConfiguration(java.lang.String name, boolean active)Creates aValidationRuleConfigurationwith the given name and activation state.- Parameters:
name- the name of the configured rule.active- a flag indicating whether this rule is configured as active or not.
-
ValidationRuleConfiguration
public ValidationRuleConfiguration(org.w3c.dom.Element element)
Creates aValidationRuleConfigurationand initializes it with the data provided by the given element.- Parameters:
element- the XML element containing the new validation rule configuration's state
-
-