Package org.hibernate.validator.cfg.defs
Class LuhnCheckDef
- java.lang.Object
-
- org.hibernate.validator.cfg.AnnotationDef<C,A>
-
- org.hibernate.validator.cfg.ConstraintDef<LuhnCheckDef,LuhnCheck>
-
- org.hibernate.validator.cfg.defs.LuhnCheckDef
-
public class LuhnCheckDef extends ConstraintDef<LuhnCheckDef,LuhnCheck>
- Author:
- Marko Bekta
-
-
Constructor Summary
Constructors Constructor Description LuhnCheckDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LuhnCheckDefcheckDigitIndex(int index)LuhnCheckDefendIndex(int index)LuhnCheckDefignoreNonDigitCharacters(boolean ignore)LuhnCheckDefstartIndex(int index)-
Methods inherited from class org.hibernate.validator.cfg.ConstraintDef
groups, message, payload
-
Methods inherited from class org.hibernate.validator.cfg.AnnotationDef
addAnnotationAsParameter, addParameter, toString
-
-
-
-
Method Detail
-
startIndex
public LuhnCheckDef startIndex(int index)
-
endIndex
public LuhnCheckDef endIndex(int index)
-
checkDigitIndex
public LuhnCheckDef checkDigitIndex(int index)
-
ignoreNonDigitCharacters
public LuhnCheckDef ignoreNonDigitCharacters(boolean ignore)
-
-