public final class ConstraintDoubleLength extends Object
| Constructor and Description |
|---|
ConstraintDoubleLength(String args)
Constructeur nécessaire pour le ksp.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraint(Double value) |
MessageText |
getErrorMessage() |
int |
getMaxLength() |
Property |
getProperty() |
Integer |
getPropertyValue() |
public ConstraintDoubleLength(String args)
args - Liste des arguments réduite à un seul castable en integer.
Cet argument correspond au nombre de chiffres maximum autorisé sur le Double.
maxLength Valeur n du segment ]-10^n, 10^n[ dans lequel est comprise la valeur.public boolean checkConstraint(Double 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.