public abstract class AbstractComparablePropertyConstraint extends AbstractPropertyConstraint implements Serializable
Constructor and Description |
---|
AbstractComparablePropertyConstraint() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doValidate(Object propertyValue) |
protected Comparable |
getComparable() |
protected void |
initialize(String rawTextValue,
ToscaType propertyType) |
void |
validate(Object propertyValue) |
validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
public AbstractComparablePropertyConstraint()
protected Comparable getComparable()
protected void initialize(String rawTextValue, ToscaType propertyType) throws ConstraintValueDoNotMatchPropertyTypeException
protected abstract void doValidate(Object propertyValue) throws ConstraintViolationException
ConstraintViolationException
public void validate(Object propertyValue) throws ConstraintViolationException
validate
in interface PropertyConstraint
ConstraintViolationException
Copyright © 2017. All rights reserved.