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