Package io.vertigo.basics.constraint
Class ConstraintNumberMaximum
java.lang.Object
io.vertigo.basics.constraint.ConstraintNumberMaximum
- All Implemented Interfaces:
Constraint<Number,Number>
Contrainte sur la valeur maximale d'un nombre.
arguments = valeur maximale.
- Author:
- npiedeloup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckConstraint(Number value) io.vertigo.core.locale.LocaleMessageText
-
Constructor Details
-
Method Details
-
checkConstraint
- Specified by:
checkConstraintin interfaceConstraint<Number,Number>
-
getErrorMessage
public io.vertigo.core.locale.LocaleMessageText getErrorMessage()- Specified by:
getErrorMessagein interfaceConstraint<Number,Number>
-
getProperty
- Specified by:
getPropertyin interfaceConstraint<Number,Number>
-
getPropertyValue
- Specified by:
getPropertyValuein interfaceConstraint<Number,Number>
-