|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.ExpressionNode
jet.api.ExpressionInfo
public class ExpressionInfo
Constructor.Defines an expression of Filter.
| Field Summary | |
|---|---|
static int |
BETWEEN
Triple Expression Operator type |
static int |
EQUALS
Binary Expression Operator type |
static int |
IN
Binary Expression Operator type |
static int |
ISNULL
Single Expression Operator type |
static int |
LESS_THAN
Binary Expression Operator type |
static int |
LESS_THAN_EQUALS
Binary Expression Operator type |
static int |
LIKE
Binary Expression Operator type |
static int |
MORE_THAN
Binary Expression Operator type |
static int |
MORE_THAN_EUQALS
Binary Expression Operator type |
static int |
NOT_BETWEEN
Triple Expression Operator type |
static int |
NOT_EQUALS
Binary Expression Operator type |
static int |
NOT_IN
Binary Expression Operator type |
static int |
NOT_ISNULL
Single Expression Operator type |
static int |
NOT_LIKE
Binary Expression Operator type |
| Constructor Summary | |
|---|---|
ExpressionInfo(ExpressionFieldInfo expression1,
ExpressionFieldInfo expression2,
ExpressionFieldInfo expression3,
int type)
Constructor. |
|
ExpressionInfo(ExpressionFieldInfo expression1,
ExpressionFieldInfo expression2,
int type)
Constructor. |
|
ExpressionInfo(ExpressionFieldInfo expression1,
int type)
Constructor. |
|
| Method Summary | |
|---|---|
ExpressionFieldInfo |
get1stExpression()
Gets the first Expression Field Information |
ExpressionFieldInfo |
get2ndExpression()
Gets the second Expression Field Information |
ExpressionFieldInfo |
get3rdExpression()
Gets the third Expression Field Information |
java.lang.String |
getOperator()
Gets the operator's name of the expression |
int |
getOperatorType()
Gets the int Operator Type of the expression |
static boolean |
isBinaryConditionOperator(int operatorType)
Indicates whether if the operator is a Binary Condition type or not. |
static boolean |
isSingleConditionOperator(int operatorType)
Indicates whether the operator is a Single Condition type or not. |
static boolean |
isTripleConditionOperator(int operatorType)
Indicates whether if the operator is a Triple Condition type or not. |
void |
set1stExpression(ExpressionFieldInfo expression1)
Sets the first Expression Field Information |
void |
set2ndExpression(ExpressionFieldInfo expression2)
Sets the second Expression Field Information |
void |
set3rdExpression(ExpressionFieldInfo expression3)
Sets the third Expression Field Information |
void |
setOperatorType(int type)
Sets the int Operator Type of the expression |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int IN
public static final int NOT_IN
public static final int LIKE
public static final int NOT_LIKE
public static final int EQUALS
public static final int NOT_EQUALS
public static final int MORE_THAN
public static final int MORE_THAN_EUQALS
public static final int LESS_THAN
public static final int LESS_THAN_EQUALS
public static final int ISNULL
public static final int NOT_ISNULL
public static final int BETWEEN
public static final int NOT_BETWEEN
| Constructor Detail |
|---|
public ExpressionInfo(ExpressionFieldInfo expression1,
int type)
throws java.lang.IllegalArgumentException
Single Condition Expression.
I.e, address NOT_ISNULL
expression1 - the ExpressionFieldInfotype - Expression Operator type
java.lang.IllegalArgumentException
public ExpressionInfo(ExpressionFieldInfo expression1,
ExpressionFieldInfo expression2,
int type)
throws java.lang.IllegalArgumentException
Binary Condition Expression.
I.e, Order ID = 1005
expression1 - the first ExpressionFieldInfoexpression2 - the second ExpressionFieldInfotype - Expression Operator type
java.lang.IllegalArgumentException
public ExpressionInfo(ExpressionFieldInfo expression1,
ExpressionFieldInfo expression2,
ExpressionFieldInfo expression3,
int type)
throws java.lang.IllegalArgumentException
Triple Condition Expression.
I.e, Order ID BETWEEN 1005 and 2005
expression1 - the first ExpressionFieldInfoexpression2 - the second ExpressionFieldInfoexpression3 - the third ExpressionFieldInfotype - Expression Operator type
java.lang.IllegalArgumentException| Method Detail |
|---|
public ExpressionFieldInfo get1stExpression()
public void set1stExpression(ExpressionFieldInfo expression1)
expression1 - the Expression Field Informationpublic ExpressionFieldInfo get2ndExpression()
public void set2ndExpression(ExpressionFieldInfo expression2)
throws java.lang.IllegalArgumentException
expression1 - the Expression Field Information
java.lang.IllegalArgumentExceptionpublic java.lang.String getOperator()
public static boolean isTripleConditionOperator(int operatorType)
BETWEEN and NOT_BETWEEN are Triple Condition type.
operatorType - the int value which specifies the operator type
true if the operator is Triple Condition type, otherwise return false.public static boolean isBinaryConditionOperator(int operatorType)
EQUALS and IN are Binary Condition type.
operatorType - the int value which specifies the operator type
true if the operator is Binary Condition type, otherwise return false.public static boolean isSingleConditionOperator(int operatorType)
ISNULL and NOT_ISNULL are Single Condition type.
operatorType - the int value which specifies the operator type
true if the operator is Single Condition type, otherwise return false.
public void setOperatorType(int type)
throws java.lang.IllegalArgumentException
int Operator Type of the expression
type - the Operator Type of the expression
java.lang.IllegalArgumentExceptionpublic int getOperatorType()
int Operator Type of the expression
int value of Operator Type of the expressionpublic ExpressionFieldInfo get3rdExpression()
public void set3rdExpression(ExpressionFieldInfo expression3)
throws java.lang.IllegalArgumentException
expression3 - the Expression Field Information
java.lang.IllegalArgumentExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||