public final class ConstraintIntegerLength extends Object
| Constructor and Description |
|---|
ConstraintIntegerLength(String args)
Constructeur nécessaire pour le ksp.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraint(Integer value) |
MessageText |
getErrorMessage() |
int |
getMaxLength() |
Property |
getProperty() |
Integer |
getPropertyValue() |
public ConstraintIntegerLength(String args)
args - Liste des arguments réduite à un seul castable en integer.
Cet argument correspond au nombre de chifres maximum authorisé sur le Integer.public boolean checkConstraint(Integer value)
public MessageText getErrorMessage()
public final int getMaxLength()
public final Property getProperty()
getProperty in interface Constraint<Integer,D>public final Integer getPropertyValue()
getPropertyValue in interface Constraint<Integer,D>Copyright © 2016. All Rights Reserved.