Package org.faktorips.runtime.validation
package org.faktorips.runtime.validation
Validation of model objects.
-
ClassDescriptionDefault implementation of
IGenericAttributeValidationConfigurationthat uses aLocalespecificResourceBundleto load messages.Class for validating the attribute relevance and value range.Configuration for the generic validation ofPolicyAttributevalues.Defines the relevance of aPolicyAttribute, derived from itsvalue set: An attribute with an empty (ornull) value set is consideredRelevance.IRRELEVANT- no value should be set An attribute with value setcontainingnullis consideredRelevance.OPTIONAL- a value can be set but is not required An attribute with a non-empty value set notcontainingnullis consideredRelevance.MANDATORY- a value must be set An attribute that is notRelevance.IRRELEVANT(Relevance.OPTIONALorRelevance.MANDATORY) is considered relevant - its value should for example be checked against the value set.