<T> org.faktorips.valueset.ValueSet<T> |
Relevance.asValueSetFor(IModelObject modelObject,
PolicyAttribute policyAttribute) |
Returns a ValueSet for the given model object's attribute that matches this
Relevance.
|
<T> org.faktorips.valueset.ValueSet<T> |
Relevance.asValueSetFor(IModelObject modelObject,
PolicyAttribute policyAttribute,
java.util.Collection<T> values) |
Returns a ValueSet for the given model object's attribute that matches this
Relevance.
|
abstract <T> org.faktorips.valueset.ValueSet<T> |
Relevance.asValueSetFor(IModelObject modelObject,
PolicyAttribute policyAttribute,
org.faktorips.valueset.ValueSet<T> values) |
Returns a ValueSet for the given model object's attribute that matches this
Relevance.
|
protected Message.Builder |
DefaultGenericAttributeValidationConfiguration.builderForErrorMessage(PolicyAttribute policyAttribute,
IModelObject modelObject,
GenericRelevanceValidation.Error error,
java.lang.Class<? extends IModelObject> definingModelObjectClass,
java.lang.String message) |
|
protected Message |
DefaultGenericAttributeValidationConfiguration.createErrorMessage(PolicyAttribute policyAttribute,
IModelObject modelObject,
GenericRelevanceValidation.Error error,
java.lang.Class<? extends IModelObject> definingModelObjectClass,
java.lang.String message) |
|
Message |
DefaultGenericAttributeValidationConfiguration.createMessageForMissingMandatoryValue(PolicyAttribute policyAttribute,
IModelObject modelObject,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
|
Message |
IGenericAttributeValidationConfiguration.createMessageForMissingMandatoryValue(PolicyAttribute policyAttribute,
IModelObject modelObject,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
Creates a message to indicate that the given attribute's value on the given model object is
missing but the value set does not allow a null value.
|
Message |
DefaultGenericAttributeValidationConfiguration.createMessageForValueNotInAllowedValueSet(PolicyAttribute policyAttribute,
IModelObject modelObject,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
|
Message |
IGenericAttributeValidationConfiguration.createMessageForValueNotInAllowedValueSet(PolicyAttribute policyAttribute,
IModelObject modelObject,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
Creates a message to indicate that the given attribute's value on the given model object is
not allowed by the value set.
|
Message |
DefaultGenericAttributeValidationConfiguration.createMessageForValuePresentForIrrelevantAttribute(PolicyAttribute policyAttribute,
IModelObject modelObject,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
|
Message |
IGenericAttributeValidationConfiguration.createMessageForValuePresentForIrrelevantAttribute(PolicyAttribute policyAttribute,
IModelObject modelObject,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
Creates a message to indicate that the given attribute's value on the given model object is
set but the value set does not allow a value.
|
protected java.lang.String |
DefaultGenericAttributeValidationConfiguration.createMsgCode(GenericRelevanceValidation.Error error,
PolicyAttribute policyAttribute,
java.lang.Class<? extends IModelObject> definingModelObjectClass) |
Creates a message code from the pattern
<errorCode>.<definingModelObjectClassName>.<policyAttributeName>.
|
protected java.lang.String |
DefaultGenericAttributeValidationConfiguration.getLabelFor(PolicyAttribute policyAttribute,
IModelObject modelObject) |
Returns the label for the given attribute to be used in an error message.
|
static boolean |
Relevance.isIrrelevant(IModelObject modelObject,
PolicyAttribute policyAttribute) |
|
static boolean |
Relevance.isMandatory(IModelObject modelObject,
PolicyAttribute policyAttribute) |
Returns whether the given attribute is considered Relevance.MANDATORY for the given model
object.
|
static boolean |
Relevance.isOptional(IModelObject modelObject,
PolicyAttribute policyAttribute) |
Returns whether the given attribute is considered Relevance.OPTIONAL for the given model
object.
|
static boolean |
Relevance.isRelevant(IModelObject modelObject,
PolicyAttribute policyAttribute) |
Returns whether the given attribute is considered relevant for the given model object.
|
static Relevance |
Relevance.of(IModelObject modelObject,
PolicyAttribute policyAttribute) |
|
boolean |
DefaultGenericAttributeValidationConfiguration.shouldValidate(PolicyAttribute policyAttribute,
IModelObject modelObject) |
|
boolean |
IGenericAttributeValidationConfiguration.shouldValidate(PolicyAttribute policyAttribute,
IModelObject modelObject) |
|