@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value={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