Skip to content

Annotation CheckCaseWords for validate upper and lower case and words pattern

Notifications You must be signed in to change notification settings

rafabc/chekcasewords-validator-annotation

Repository files navigation

chekcasewords-validator-annotation

Annotation CheckCaseWords for validate upper and lower case and words pattern

If we want validate a field that must be Upper or Lower case and must be a word we can use this annotation, like this:

######this is upper case validation example

@CheckCaseWords(CaseMode.UPPER)
private String name;

######this is lower case validation example

@CheckCaseWords(CaseMode.LOWER)
private String name;

About

Annotation CheckCaseWords for validate upper and lower case and words pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages