Annotation Type DataType


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    @Documented
    @UseWith({BEAN,COMPONENT,MIXIN,PAGE})
    public @interface DataType
    Used to explicitly set the data type used to select an editor (or display) block. Normally, the data type is determined from the type of the property (for example, property type java.lang.String would map to data type "text"). This annotation may be attached to a getter or setter method, or the matching field.
    See Also:
    DataTypeConstants
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value