Package org.faktorips.runtime.internal
Class ValidationRuleConfiguration
java.lang.Object
org.faktorips.runtime.internal.ValidationRuleConfiguration
Class representing a validation rule configuration at runtime.
- Author:
- Stefan Widmaier, FaktorZehn AG
-
Constructor Summary
ConstructorsConstructorDescriptionValidationRuleConfiguration(String name, boolean active) Creates aValidationRuleConfigurationwith the given name and activation state.ValidationRuleConfiguration(Element element) Creates aValidationRuleConfigurationand initializes it with the data provided by the given element. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()Flag indicating whether the validation rule is configured as active.
-
Constructor Details
-
ValidationRuleConfiguration
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
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
-
-
Method Details
-
getRuleName
- Returns:
- the name of the configured validation rule
-
isActive
public boolean isActive()Flag indicating whether the validation rule is configured as active.- Returns:
trueif the validation rule is configured as active,falseotherwise.
-