1 /** 2 * - Digitalis Internal Framework v2.0 - 3 * 4 * (C) 2007, Digitalis Informatica. 5 * 6 * Distribuicao e Gestao de Informatica, Lda. 7 * Estrada de Paco de Arcos num.9 - Piso -1 8 * 2780-666 Paco de Arcos 9 * Telefone: (351) 21 4408990 10 * Fax: (351) 21 4408999 11 * http://www.digitalis.pt 12 */ 13 package pt.digitalis.dif.dem.annotations; 14 15 /** 16 * This class defines a set of tags that are reused on different DIF meta-model 17 * Annotations. 18 * 19 * @author Rodrigo Gonçalves <a 20 * href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a> 21 * @created 2007/05/10 22 */ 23 final public class AnnotationTags { 24 25 /* 26 * Implementation Note: 27 * 28 * This type should really be an enumerated type, but since the tags must 29 * be used as default values for annotation member values and JLS requires 30 * these defaults to be constant and the enum spec does not guarantee this 31 * "constness" the type can't be an enumerated. 32 */ 33 34 /** 35 * Tag for code generation module that indicates that the ID must be 36 * generated from the class name (lower case). 37 */ 38 final static public String GENERATE_ID = "CGID:Must generate ID from lower-case class name"; 39 40 /** Definition of the default provider. */ 41 final static public String DEFAULT_PROVIDER = "CGID:Digitalis"; 42 43 /** Definition of the default channel. */ 44 final static public String DEFAULT_CHANNEL = "CGID:Web"; 45 46 /** Definition of the Parameter's default group visibility. */ 47 final static public String DEFAULT_GROUP_VISIBILTY = "CGID:Default Group Visibilty"; 48 49 /** Multipurpose for optional parameters that will have their value programmatically determined. */ 50 final static public String NONE = "CGID:Parameter ommited"; 51 }