Package org.openxava.annotations
Annotation Type Files
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Files
The user can upload several files in this property, so the files are attached to the entity.The files that are images are shown with image preview. The user can download any file or see any image (if it is an image) just clicking on it. The data type is String with a length of 32. Applies to properties.
Example:
@Files @Column(length=32) private String documents;
It's synonymous of @Stereotype("FILES").- Since:
- 6.6
- Author:
- Javier Paniza
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
acceptFileTypes
Comma separated list of accepted mime types.long
maxFileSizeInKb
Maximum size of the file to upload in Kb.
-