-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.lang.String.class, validatorClass=WhatsAppConstraintValidator.class) @SelfDocumented @ReadMore(caption="What is whatsapp number format?", link="https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers") public @interface WhatsApp
The annotated element must be a valid whatsapp number.- Since:
- 0.1
- Author:
- nedis
- See Also:
Phone,Viber,Telegram,WhatsAppConstraintValidator
-
-
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.
-