Uses of Interface
dev.metaschema.core.model.constraint.IConstraint
Packages that use IConstraint
Package
Description
Metaschema constraint definitions and validation framework.
-
Uses of IConstraint in dev.metaschema.core.model.constraint
Classes in dev.metaschema.core.model.constraint with type parameters of type IConstraintModifier and TypeClassDescriptionclassAbstractConstraintBuilder<T extends AbstractConstraintBuilder<T,R>, R extends IConstraint> Provides builder methods for the core data elements of anIConstraint.Subinterfaces of IConstraint in dev.metaschema.core.model.constraintModifier and TypeInterfaceDescriptioninterfaceRepresents a rule requiring the value of a field or flag to match the name of one entry in a set of enumerated values.interfaceRepresents a rule requiring a Metaschema assembly data instance to have elements with a minimum and/or maximum occurrence.interfaceRepresents a constraint that allows a configurable message.interfaceRepresents a rule requiring a Metaschema assembly, field, or flag data instance to pass a Metapath-based test.interfaceRepresents a rule that generates a key-based index containing references to data items found in a Metaschema data instance.interfaceRepresents a rule that checks that a key generated for a Metaschema data object exists in a named index that was generated using anIIndexConstraint.interfaceA common interface used for constraints oriented around key-based indexes.interfaceRepresents a rule requiring the value of a field or flag to match a pattern and/or conform to an identified data type.interfaceRepresents a rule reporting a condition when a Metaschema assembly, field, or flag data instance matches a Metapath-based test.interfaceRepresents a rule that requires all matching data items found in a Metaschema data instance to have a unique key.Methods in dev.metaschema.core.model.constraint that return types with arguments of type IConstraintModifier and TypeMethodDescriptionList<? extends IConstraint>ConstraintValidationFinding.getConstraints()Get the constraints associated with the finding.default List<? extends IConstraint>IFeatureValueConstrained.getConstraints()List<? extends IConstraint>IValueConstrained.getConstraints()Retrieve the ordered collection of constraints.ValueConstraintSet.getConstraints()protected List<IConstraint>ValueConstraintSet.getConstraintsInternal()Get the underlying constraint collection.Methods in dev.metaschema.core.model.constraint with parameters of type IConstraintModifier and TypeMethodDescriptionConstraintValidationFinding.builder(IConstraint constraint, INodeItem node) Construct a new finding builder.static StringIConstraint.getConstraintIdentity(IConstraint constraint) Get a string that identifies the provided constraint using the most specific information available.voidFindingCollectingConstraintValidationHandler.handleError(IConstraint constraint, INodeItem node, String message, Throwable exception, DynamicContext dynamicContext) voidIConstraintValidationHandler.handleError(IConstraint constraint, INodeItem node, String message, Throwable exception, DynamicContext dynamicContext) Handle a constraint that whose evaluation resulted in an unexpected error during validation.voidLoggingConstraintValidationHandler.handleError(IConstraint constraint, INodeItem node, String message, Throwable exception, DynamicContext dynamicContext) voidFindingCollectingConstraintValidationHandler.handlePass(IConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext) voidIConstraintValidationHandler.handlePass(IConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext) Handle a constraint that has passed validation.voidLoggingConstraintValidationHandler.handlePass(IConstraint constraint, INodeItem node, INodeItem target, DynamicContext dynamicContext) Method parameters in dev.metaschema.core.model.constraint with type arguments of type IConstraintModifier and TypeMethodDescriptionConstraintValidationFinding.builder(List<? extends IConstraint> constraints, INodeItem node) Construct a new finding builder.