@OpenApiAll
public interface ValidationRuleSpecification
ValidationRuleSpecification
is a wrapper for a constraint with applied validationRule stereotype.
It provides convenience methods to access tag values.Modifier and Type | Method and Description |
---|---|
com.nomagic.magicdraw.expressions.ElementExpression |
getParentObjectExpression(Class context)
Returns parent object expression.
|
ValidationRuleSpecification |
getParentRule()
Returns parent rule.
|
Constraint |
getParentValidationRuleConstraint()
Returns parent validation rule constraint.
|
Constraint |
getStereotypedConstraint()
Returns stereotyped constraint.
|
@CheckForNull ValidationRuleSpecification getParentRule()
@CheckForNull Constraint getParentValidationRuleConstraint()
@CheckForNull com.nomagic.magicdraw.expressions.ElementExpression getParentObjectExpression(Class context)
context
- context of the expression.Constraint getStereotypedConstraint()