X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Fresources%2FMeta.java;h=d50664da74f0828e3465383a9bb828222cd29ea9;hp=d377dcc5c10c1c08ed0c7e98a4ae6a3f7be5bbd8;hb=e8aa5bf9227a0d6a6d0bb6a8bc0cc04d0f4d601a;hpb=805005449dacb1e7b825db63836bf100e472ddd0 diff --git a/src/be/nikiroo/utils/resources/Meta.java b/src/be/nikiroo/utils/resources/Meta.java index d377dcc..d50664d 100644 --- a/src/be/nikiroo/utils/resources/Meta.java +++ b/src/be/nikiroo/utils/resources/Meta.java @@ -63,7 +63,7 @@ public @interface Meta { * use the value in the program, and LANGUAGE_CODE_FR, LANGUAGE_CODE_EN * inside for which the value must be set. * - * @return the group + * @return TRUE if it is a group */ boolean group() default false; @@ -89,6 +89,13 @@ public @interface Meta { */ boolean nullable() default true; + /** + * The default value of this item. + * + * @return the value + */ + String def() default ""; + /** * This item is a comma-separated list of values instead of a single value. *