1 23 24 package org.dbforms.config; 25 26 27 32 public interface Constants { 33 34 public static final int DATE_STYLE_DEFAULT = java.text.DateFormat.MEDIUM; 35 36 37 public static final int TIME_STYLE_DEFAULT = java.text.DateFormat.SHORT; 38 39 40 public static final String FIELDNAME_PREFIX = "f_"; 41 42 43 public static final String FIELDNAME_OLDVALUETAG = "o"; 44 45 46 public static final String FIELDNAME_PATTERNTAG = "p"; 47 48 49 public static final String FIELDNAME_INSERTPREFIX = "ins"; 50 51 52 public static final String FIELDNAME_OVERRIDEFIELDTEST = "overridefieldcheck_"; 53 54 55 public static final String FIELDNAME_SORT = "sort_"; 56 57 58 public static final String FIELDNAME_SEARCH = "search_"; 59 60 61 public static final String FIELDNAME_SEARCHALGO = "searchalgo_"; 62 63 64 public static final String FIELDNAME_SEARCHMODE = "searchmode_"; 65 66 67 public static final int COMPARE_NONE = 0; 68 69 70 public static final int COMPARE_INCLUSIVE = 1; 71 72 73 public static final int COMPARE_EXCLUSIVE = 2; 74 75 76 public static final int SEARCHMODE_NONE = 0; 77 78 79 public static final int SEARCHMODE_AND = 1; 80 81 82 public static final int SEARCHMODE_OR = 2; 83 84 85 public static final int SEARCH_ALGO_SHARP = 0; 86 87 88 public static final int SEARCH_ALGO_WEAK = 1; 89 90 91 public static final int SEARCH_ALGO_WEAK_START = 2; 92 93 94 public static final int SEARCH_ALGO_WEAK_END = 3; 95 96 97 public static final int SEARCH_ALGO_WEAK_START_END = 4; 98 99 100 public static final int SEARCH_ALGO_EXTENDED = 5; 101 102 103 public static final int FILTER_EQUAL = 0; 104 105 106 public static final int FILTER_GREATER_THEN = 1; 107 108 109 public static final int FILTER_GREATER_THEN_EQUAL = 3; 110 111 112 public static final int FILTER_SMALLER_THEN = 2; 113 114 115 public static final int FILTER_SMALLER_THEN_EQUAL = 4; 116 117 118 public static final int FILTER_LIKE = 5; 119 120 121 public static final int FILTER_NOT_EQUAL = 6; 122 123 124 public static final int FILTER_NULL = 7; 125 126 127 public static final int FILTER_NOT_NULL = 8; 128 129 130 public static final int FILTER_EMPTY = 9; 131 132 133 public static final int FILTER_NOT_EMPTY = 10; 134 135 136 public static final int ORDER_NONE = -1; 137 138 139 public static final int ORDER_ASCENDING = 0; 140 141 142 public static final int ORDER_DESCENDING = 1; 143 } 144 | Popular Tags |