Interface ValidationRuleSpecification


  • @OpenApiAll
    public interface ValidationRuleSpecification
    ValidationRuleSpecification is a wrapper for a constraint with applied validationRule stereotype. It provides convenience methods to access tag values.
    Version:
    1.0
    • Method Detail

      • getParentValidationRuleConstraint

        @CheckForNull
        Constraint getParentValidationRuleConstraint()
        Returns parent validation rule constraint.
        Returns:
        parent validation rule.
      • getParentObjectExpression

        @CheckForNull
        ElementExpression getParentObjectExpression​(Class context)
        Returns parent object expression.
        Parameters:
        context - context of the expression.
        Returns:
        parent object expression.
      • getStereotypedConstraint

        Constraint getStereotypedConstraint()
        Returns stereotyped constraint.
        Returns:
        stereotyped constraint.