Uses of Interface
org.faktorips.runtime.IValidationContext
Packages that use IValidationContext
Package
Description
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.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. -
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.