Annotation Type UniqueId


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    public @interface UniqueId
    Annotates a method (to be invoked) that returns the unique id of the object. The method must have zero arguments. The "name" argument allows you to specify an alternative name for this "id" property. The preferred/default value is "id"
    Author:
    Gethin James
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String UNIQUE_NAME  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name  
    • Field Detail

      • UNIQUE_NAME

        static final java.lang.String UNIQUE_NAME
    • Element Detail

      • name

        java.lang.String name
        Default:
        "id"