Annotation Type Label


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface Label
    String field displayed as a label.

    The field is not editable and always displayed as a label. The data type is String. Applies to properties.

    Example:

      @Label
     public String getZoneOne() {
          return "IN ZONE 1";
      }
     
    It's synonymous of @Stereotype("LABEL").
    Since:
    6.6
    Author:
    Javier Paniza