Interface ConstraintValidator<T extends Visitable>
-
- All Known Subinterfaces:
Constraint.FHIRPathConstraintValidator
public interface ConstraintValidator<T extends Visitable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValid(T elementOrResource, Constraint constraint)
Indicates whether an element or resource is valid with respect to the given constraint
-
-
-
Method Detail
-
isValid
boolean isValid(T elementOrResource, Constraint constraint)
Indicates whether an element or resource is valid with respect to the given constraint- Parameters:
elementOrResource
- the element or resourceconstraint
- the constraint- Returns:
- true if the element or resource is valid with respect to the given constraint, false otherwise
-
-