Annotation Interface Alias


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Alias
The annotation that specify alias name.

How to use:

 @Alias("Email")
 public class UserEmail {
   // ...
 }
 
Author:
Clinton Begin
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Return the alias name.
  • Element Details

    • value

      String value
      Return the alias name.
      Returns:
      the alias name