Annotation Type Telephone


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface Telephone
    Field used to store a phone number.

    The data type is String with length of 15. Applies to properties.

    Example:

      @Telephone
      private String phoneNumber;
     
    It's synonymous of @Stereotype("TELEPHONE").
    Since:
    6.6
    Author:
    Javier Paniza