Uses of Interface
org.faktorips.runtime.IValidationContext
Packages that use IValidationContext
Package
Description
Contains classes that allow access to design time model information about Faktor-IPS objects.
Classes that allow access to design time model information on enums.
Classes that allow access to design time model information on policy and product component types.
Validation of model objects.
-
Uses of IValidationContext in org.faktorips.runtime
Classes in org.faktorips.runtime that implement IValidationContextMethods in org.faktorips.runtime with parameters of type IValidationContextModifier and TypeMethodDescriptionIModelObject.validate(IValidationContext context) Validates the model object and returns a list of messages. -
Uses of IValidationContext in org.faktorips.runtime.internal
Methods in org.faktorips.runtime.internal with parameters of type IValidationContextModifier and TypeMethodDescriptionAbstractModelObject.validate(IValidationContext context) voidAbstractModelObject.validate(MessageList list, IValidationContext context) Validates the policy component and adds any messages generated to the given list.protected voidAbstractModelObject.validateDependants(MessageList list, IValidationContext context) Validates the policy component's dependant components and adds any message generated to the given list.protected booleanAbstractModelObject.validateSelf(MessageList list, IValidationContext context) Validates this policy component's state without validating the dependant components. -
Uses of IValidationContext in org.faktorips.runtime.model
Methods in org.faktorips.runtime.model with parameters of type IValidationContextModifier and TypeMethodDescriptionstatic MessageListIpsModel.validate(IRuntimeRepository repository, IValidationContext context) Validates all product components and enum values in the given repository against their model. -
Uses of IValidationContext in org.faktorips.runtime.model.enumtype
Methods in org.faktorips.runtime.model.enumtype with parameters of type IValidationContextModifier and TypeMethodDescriptionvoidEnumAttribute.validate(MessageList list, IValidationContext context, Object enumValue) Validates this enum attribute's configuration in the given enum value against the model.voidEnumType.validate(MessageList list, IValidationContext context, Object enumValue) Validates this enum's configuration in the given enum value against the model.voidEnumType.validate(MessageList list, IValidationContext context, List<?> enumValues) Validates this enum's configuration in the given enum values against the model. -
Uses of IValidationContext in org.faktorips.runtime.model.type
Methods in org.faktorips.runtime.model.type with parameters of type IValidationContextModifier and TypeMethodDescriptionorg.faktorips.valueset.ValueSet<?>ConstantPolicyAttribute.getValueSet(IModelObject modelObject, IValidationContext context) org.faktorips.valueset.ValueSet<?>ConstantPolicyAttribute.getValueSet(IProductComponent source, Calendar effectiveDate, IValidationContext context) org.faktorips.valueset.ValueSet<?>DefaultPolicyAttribute.getValueSet(IModelObject modelObject, IValidationContext context) org.faktorips.valueset.ValueSet<?>DefaultPolicyAttribute.getValueSet(IProductComponent source, Calendar effectiveDate, IValidationContext context) abstract org.faktorips.valueset.ValueSet<?>PolicyAttribute.getValueSet(IModelObject modelObject, IValidationContext context) Returns the value set of the given model object's attribute identified by this model type attribute.abstract org.faktorips.valueset.ValueSet<?>PolicyAttribute.getValueSet(IProductComponent source, Calendar effectiveDate, IValidationContext context) Returns the value set of the given model object's attribute identified by this model type attribute.protected <V,R> void Association.validate(MessageList list, IValidationContext context, Supplier<V> valueGetter, Supplier<R> referenceValueGetter, BiPredicate<V, R> valueChecker, String msgCode, String msgKey, String property, ObjectProperty invalidObjectProperty) protected <V,R> void Attribute.validate(MessageList list, IValidationContext context, Supplier<V> valueGetter, Supplier<R> referenceValueGetter, BiPredicate<V, R> valueChecker, String msgCode, String msgKey, String property, ObjectProperty invalidObjectProperty) voidAttribute.validate(MessageList list, IValidationContext context, IProductComponent product, Calendar effectiveDate) Validates this attribute's configuration in the given product against the model.voidDefaultPolicyAttribute.validate(MessageList list, IValidationContext context, IProductComponent product, Calendar effectiveDate) voidFormula.validate(MessageList list, IValidationContext context, IProductComponent productComponent, Calendar effectiveDate) voidProductAssociation.validate(MessageList list, IValidationContext context, IProductComponent source, Calendar effectiveDate) Validates this association's configuration in the given product against the model.voidProductAttribute.validate(MessageList list, IValidationContext context, IProductComponent product, Calendar effectiveDate) voidProductCmptType.validate(IProductComponent productComponent, MessageList messages, IValidationContext context) Validates the given product component against this type, provided it matches.voidTableUsage.validate(MessageList list, IValidationContext context, IProductComponent productComponent, Calendar effectiveDate) voidTypePart.validate(MessageList list, IValidationContext context, IProductComponent product, Calendar effectiveDate) Validates this part's configuration in the given product against the model. -
Uses of IValidationContext in org.faktorips.runtime.validation
Methods in org.faktorips.runtime.validation with parameters of type IValidationContextModifier and TypeMethodDescriptionstatic MessageListGenericRelevanceValidation.of(IModelObject modelObject, Class<? extends IModelObject> definingModelObjectClass, String propertyName, IValidationContext validationContext) Creates aGenericRelevanceValidationfor the given model object's attribute using the validation context togettheIGenericAttributeValidationConfigurationandvalidatesthe attribute.