java/sql-dk/src/info/globalcode/sql/dk/configuration/PropertyDeclaration.java
branchv_0
changeset 207 2bba68ef47c1
parent 205 d6624c3b146a
child 212 d154d6012cbe
equal deleted inserted replaced
206:e2f24eea8543 207:2bba68ef47c1
    22 import java.lang.annotation.Retention;
    22 import java.lang.annotation.Retention;
    23 import static java.lang.annotation.RetentionPolicy.RUNTIME;
    23 import static java.lang.annotation.RetentionPolicy.RUNTIME;
    24 import java.lang.annotation.Target;
    24 import java.lang.annotation.Target;
    25 
    25 
    26 /**
    26 /**
       
    27  * Declaration of the (formatter) properties – for documentation purposes.
       
    28  *
       
    29  * TODO: automatically inject properties (configured, ad-hoc, default ones) to the formatters
    27  *
    30  *
    28  * @author Ing. František Kučera (frantovo.cz)
    31  * @author Ing. František Kučera (frantovo.cz)
    29  */
    32  */
    30 @Retention(RUNTIME)
    33 @Retention(RUNTIME)
    31 @Target({ElementType.TYPE})
    34 @Target({ElementType.TYPE})
    44 
    47 
    45 	/**
    48 	/**
    46 	 * @return documentation for the users
    49 	 * @return documentation for the users
    47 	 */
    50 	 */
    48 	String description();
    51 	String description();
       
    52 
       
    53 	/**
       
    54 	 * @return default value of this property
       
    55 	 */
       
    56 	String defaultValue();
    49 }
    57 }