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