public final class ChangedLengthTrait extends AbstractDiffEvaluator
| Constructor and Description |
|---|
ChangedLengthTrait() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ValidationEvent> |
evaluate(Differences differences)
Returns validation events given two models and the detected
differences between them.
|
protected java.util.Optional<java.math.BigDecimal> |
getMax(LengthTrait t) |
protected java.util.Optional<java.math.BigDecimal> |
getMin(LengthTrait t) |
protected java.lang.Class<LengthTrait> |
getTraitType() |
danger, danger, error, error, getEventId, note, note, warning, warningprotected java.lang.Class<LengthTrait> getTraitType()
protected java.util.Optional<java.math.BigDecimal> getMin(LengthTrait t)
protected java.util.Optional<java.math.BigDecimal> getMax(LengthTrait t)
public final java.util.List<ValidationEvent> evaluate(Differences differences)
DiffEvaluatordifferences - Detected differences.