1 23 24 package org.objectweb.medor.expression.api; 25 26 30 public interface Operator extends Expression { 31 32 public final static String LOWER = "<"; 33 public final static String GREATER = ">"; 34 public final static String LOWEREQUAL = "<="; 35 public final static String GREATEREQUAL = ">="; 36 public final static String NOT = "!"; 37 public final static String CONDAND = "&&"; 38 public final static String CONCAT = "concat"; 39 public final static String AND = "&"; 40 public final static String CONDOR = "||"; 41 public final static String OR = "|"; 42 public final static String EQUAL = "=="; 43 public final static String NOTEQUAL = "!="; 44 public final static String PLUS = "+"; 45 public final static String MINUS = "-"; 46 public final static String UMINUS = "-"; 47 public final static String MULT = "*"; 48 public final static String DIV = "/"; 49 public final static String BITWIZE = "~"; 50 public final static String NAV = "."; 51 public final static String IN = "IN"; 52 public final static String LENGTH = "length"; 53 public final static String FIRSTLOCATE = "locate"; 54 public final static String INDEXEDLOCATE = "locate"; 55 public final static String SQRT = "sqrt"; 56 public final static String ABS = "abs"; 57 public final static String SUBSTRING = "substring"; 58 public final static String STRING_UPPER = "upper"; 59 public final static String STRING_LOWER = "lower"; 60 public final static String MEMBEROF = "memberof"; 61 public final static String NOTMEMBEROF = "notmemberof"; 62 public final static String AVG = "avg"; 63 public final static String MIN = "min"; 64 public final static String MAX = "max"; 65 public final static String COUNT = "count"; 66 public final static String SUM = "sum"; 67 public final static String MOD = "mod"; 68 69 73 String getOperatorString(); 74 75 int getOperandNumber(); 76 77 Expression getExpression(int idx) throws ArrayIndexOutOfBoundsException ; 78 79 void setExpression(int idx, Expression exp) 80 throws ArrayIndexOutOfBoundsException ; 81 } 82 | Popular Tags |