public class LessThanConstraint extends AbstractComparablePropertyConstraint implements Serializable
Constructor and Description |
---|
LessThanConstraint(String lessThan) |
Modifier and Type | Method and Description |
---|---|
protected void |
doValidate(Object propertyValue) |
void |
initialize(ToscaType propertyType) |
getComparable, initialize, validate
validate
public LessThanConstraint(String lessThan)
public void initialize(ToscaType propertyType) throws ConstraintValueDoNotMatchPropertyTypeException
initialize
in interface PropertyConstraint
ConstraintValueDoNotMatchPropertyTypeException
protected void doValidate(Object propertyValue) throws ConstraintViolationException
doValidate
in class AbstractComparablePropertyConstraint
ConstraintViolationException
Copyright © 2017. All rights reserved.