public final class ConstraintStringLength extends Object
| Constructor and Description |
|---|
ConstraintStringLength(String args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraint(String value) |
MessageText |
getErrorMessage() |
int |
getMaxLength() |
Property |
getProperty() |
Integer |
getPropertyValue() |
public ConstraintStringLength(String args)
args - Liste des arguments réduite à un seul castable en integer.
Cet argument correspond au nombre de caractères maximum authorisés sur la chaine de caractères.public boolean checkConstraint(String 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.