Package com.nomagic.magicdraw.validation
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 Summary
Modifier and TypeMethodDescriptiongetParentObjectExpression
(Class context) Returns parent object expression.Returns parent rule.Returns parent validation rule constraint.Returns stereotyped constraint.
-
Method Details
-
getParentRule
Returns parent rule.- Returns:
- parent rule.
-
getParentValidationRuleConstraint
Returns parent validation rule constraint.- Returns:
- parent validation rule.
-
getParentObjectExpression
Returns parent object expression.- Parameters:
context
- context of the expression.- Returns:
- parent object expression.
-
getStereotypedConstraint
Constraint getStereotypedConstraint()Returns stereotyped constraint.- Returns:
- stereotyped constraint.
-