Uses of Interface
dev.metaschema.core.model.constraint.IAllowedValuesConstraint
Packages that use IAllowedValuesConstraint
Package
Description
Metaschema constraint definitions and validation framework.
-
Uses of IAllowedValuesConstraint in dev.metaschema.core.model.constraint
Methods in dev.metaschema.core.model.constraint that return IAllowedValuesConstraintModifier and TypeMethodDescriptionprotected IAllowedValuesConstraintIAllowedValuesConstraint.Builder.newInstance()Methods in dev.metaschema.core.model.constraint that return types with arguments of type IAllowedValuesConstraintModifier and TypeMethodDescriptiondefault List<? extends IAllowedValuesConstraint>IFeatureValueConstrained.getAllowedValuesConstraints()List<? extends IAllowedValuesConstraint>IValueConstrained.getAllowedValuesConstraints()Get the collection of allowed value constraints, if any.ValueConstraintSet.getAllowedValuesConstraints()Methods in dev.metaschema.core.model.constraint with parameters of type IAllowedValuesConstraintModifier and TypeMethodDescriptiondefault voidIFeatureValueConstrained.addConstraint(IAllowedValuesConstraint constraint) voidIValueConstrained.addConstraint(IAllowedValuesConstraint constraint) Add a new constraint.final voidValueConstraintSet.addConstraint(IAllowedValuesConstraint constraint) protected voidDefaultConstraintValidator.updateValueStatus(INodeItem targetItem, IAllowedValuesConstraint allowedValues, IDefinitionNodeItem<?, ?> node) Add a new allowed value to the value status tracker.IConstraintVisitor.visitAllowedValues(IAllowedValuesConstraint constraint, T state) Implementation of this method support visitation of anIAllowedValuesConstraint.Method parameters in dev.metaschema.core.model.constraint with type arguments of type IAllowedValuesConstraintModifier and TypeMethodDescriptionvoidFindingCollectingConstraintValidationHandler.handleAllowedValuesViolation(List<IAllowedValuesConstraint> failedConstraints, INodeItem target, DynamicContext dynamicContext) voidIConstraintValidationHandler.handleAllowedValuesViolation(List<IAllowedValuesConstraint> failedConstraints, INodeItem target, DynamicContext dynamicContext) Handle an allowed values constraint violation.voidLoggingConstraintValidationHandler.handleAllowedValuesViolation(List<IAllowedValuesConstraint> failedConstraints, INodeItem target, DynamicContext dynamicContext) protected StringAbstractConstraintValidationHandler.newAllowedValuesViolationMessage(List<IAllowedValuesConstraint> constraints, INodeItem target) Construct a new violation message for the providedconstraintapplied to thenode.