com.ibm.mm.sdk.server
Class DKOpCodeDES
java.lang.Object
|
+--com.ibm.mm.sdk.server.DKOpCodeDES
- public class DKOpCodeDES
- extends java.lang.Object
DKOpCodeDES is a static helper class to define constants related
to comparison and logical operators.
Method Summary |
static java.lang.String[] |
opStrings()
Gets the string representation of all defined operators |
static short |
toOpCode(java.lang.String opString)
Convert the given operator string to its op-code representation. |
static java.lang.String |
toString(short opCode)
Convert the given opCode to its string representation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EQ
public static final short EQ
NEQ
public static final short NEQ
GT
public static final short GT
LT
public static final short LT
LIKE
public static final short LIKE
NOTLIKE
public static final short NOTLIKE
BETWEEN
public static final short BETWEEN
IN
public static final short IN
NOTIN
public static final short NOTIN
GEQ
public static final short GEQ
LEQ
public static final short LEQ
NOTBETWEEN
public static final short NOTBETWEEN
AND
public static final short AND
OR
public static final short OR
NOT
public static final short NOT
DKOpCodeDES
public DKOpCodeDES()
opStrings
public static java.lang.String[] opStrings()
- Gets the string representation of all defined operators
- Returns:
- array of operator string
toString
public static java.lang.String toString(short opCode)
- Convert the given opCode to its string representation.
- Throws:
java.lang.IndexOutOfBoundsException
- if the opCode is invalid
toOpCode
public static short toOpCode(java.lang.String opString)
- Convert the given operator string to its op-code representation.
- Returns:
- a short op-code, or -1 if not found
- Throws:
java.lang.IndexOutOfBoundsException
- if the op-string is invalid
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.