-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.lang.String.class, validatorClass=ViberConstraintValidator.class) @SelfDocumented @ReadMore(caption="What is viber number format?", link="https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers") public @interface Viber
The annotated element must be a valid viber number.- Since:
- 0.1
- Author:
- nedis
- See Also:
Phone,Telegram,WhatsApp,ViberConstraintValidator
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanallowsSpacesReturnstrueif phone number can contain space characters.booleanoffAllows disabling the validation rule if this rule is inherited from super class.booleanwithoutPlusReturnstrueif phone number must not start with plus character.
-