Package io.vertigo.basics.constraint
Class ConstraintNumberMinimum
- java.lang.Object
-
- io.vertigo.basics.constraint.ConstraintNumberMinimum
-
- All Implemented Interfaces:
Constraint<Number,Number>
public final class ConstraintNumberMinimum extends Object implements Constraint<Number,Number>
Contrainte sur la valeur minimale d'un nombre. arguments = valeur minimale.- Author:
- npiedeloup
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkConstraint(Number value)
io.vertigo.core.locale.MessageText
getErrorMessage()
Property
getProperty()
Number
getPropertyValue()
-
-
-
Method Detail
-
checkConstraint
public boolean checkConstraint(Number value)
- Specified by:
checkConstraint
in interfaceConstraint<Number,Number>
-
getErrorMessage
public io.vertigo.core.locale.MessageText getErrorMessage()
- Specified by:
getErrorMessage
in interfaceConstraint<Number,Number>
-
getProperty
public Property getProperty()
- Specified by:
getProperty
in interfaceConstraint<Number,Number>
-
getPropertyValue
public Number getPropertyValue()
- Specified by:
getPropertyValue
in interfaceConstraint<Number,Number>
-
-