1 18 package org.apache.beehive.netui.compiler.model.validation; 19 20 public interface ValidatorConstants 21 { 22 String RULENAME_INT_RANGE = "netui_longRange"; 23 String RULENAME_FLOAT_RANGE = "floatRange"; 24 String RULENAME_REQUIRED = "required"; 25 String RULENAME_EMAIL = "email"; 26 String RULENAME_CREDIT_CARD = "creditCard"; 27 String RULENAME_MINLENGTH = "minlength"; 28 String RULENAME_MAXLENGTH = "maxlength"; 29 String RULENAME_MASK = "mask"; 30 String RULENAME_BYTE = "byte"; 31 String RULENAME_SHORT = "short"; 32 String RULENAME_INTEGER = "integer"; 33 String RULENAME_LONG = "long"; 34 String RULENAME_FLOAT = "float"; 35 String RULENAME_DOUBLE = "double"; 36 String RULENAME_DATE = "date"; 37 String RULENAME_VALID_WHEN = "netui_validwhen"; 38 39 String VARNAME_MIN = "min"; 40 String VARNAME_MAX = "max"; 41 String VARNAME_MINLENGTH = "minlength"; 42 String VARNAME_MAXLENGTH = "maxlength"; 43 String VARNAME_MASK = "mask"; 44 String VARNAME_DATE_PATTERN = "datePattern"; 45 String VARNAME_DATE_PATTERN_STRICT = "datePatternStrict"; 46 String VARNAME_VALID_WHEN = RULENAME_VALID_WHEN; 47 48 String EXPRESSION_KEY_PREFIX = "NETUI-EXPRESSION:"; 49 } 50 | Popular Tags |