public final class ConstraintLongLength extends Object
| Constructor and Description |
|---|
ConstraintLongLength(String args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraint(Long value) |
MessageText |
getErrorMessage() |
int |
getMaxLength() |
Property |
getProperty() |
Integer |
getPropertyValue() |
public ConstraintLongLength(String args)
args - Liste des arguments réduite à un seul castable en long.
Cet argument correspond au nombre de chifres maximum authorisé sur le Long.public boolean checkConstraint(Long 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 © 2019. All Rights Reserved.