|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IBdeFilter interface helps define the Filters required for the formation of a request. A Filter
is defined by creating a object.
An instance of IBdeFilterExpressionIBdeFilter can be created using BdeToolkit
There are 2 basic types of expressions that
can be used.
1. A Comparison expression is used to create a comparison condition such as 'AttributeX eq ValueX'. The comparisonOperator
can be 'less than or equal', 'less than', 'greater than or equal', 'greater than', 'not equal' and 'equal'.
2. A Logical expression is used to logically combine multiple Comparison Expressions. A logicalOperator can be either 'and' or 'or'.
For example:
IBdeFilter filter = BdeToolkit.getDefaultToolkit().createBdeFilter();
IBdeFilterExpression compExp = filter.createComparisonEqual( "AttributeX", "ValueX");
filter.setExpression(compExp);
| Method Summary | |
IBdeFilterExpression |
createAttributeComparisonEqual(java.lang.String attribute1,
java.lang.String attribute2)
Creates an 'equal' Attribute comparison IBdeFilterExpression. |
IBdeFilterExpression |
createAttributeComparisonGreater(java.lang.String attribute1,
java.lang.String attribute2)
Creates a 'greater' Attribute comparison IBdeFilterExpression. |
IBdeFilterExpression |
createAttributeComparisonGreaterOrEqual(java.lang.String attribute1,
java.lang.String attribute2)
Creates a 'greater or equal' Attribute comparison IBdeFilterExpression. |
IBdeFilterExpression |
createAttributeComparisonLess(java.lang.String attribute1,
java.lang.String attribute2)
Creates a 'less' Attribute comparison IBdeFilterExpression. |
IBdeFilterExpression |
createAttributeComparisonLessOrEqual(java.lang.String attribute1,
java.lang.String attribute2)
Creates a 'less or equal' Attribute comparison IBdeFilterExpression. |
IBdeFilterExpression |
createAttributeComparisonNotEqual(java.lang.String attribute1,
java.lang.String attribute2)
Creates a 'not equal' Attribute comparison IBdeFilterExpression. |
IBdeFilterExpression |
createComparisonEqual(java.lang.String attribute,
java.lang.String value)
Creates an 'equal' comparison IBdeFilterExpression. |
IBdeFilterExpression |
createComparisonGreater(java.lang.String attribute,
java.lang.String value)
Creates a 'greater' comparison IBdeFilterExpression. |
IBdeFilterExpression |
createComparisonGreaterOrEqual(java.lang.String attribute,
java.lang.String value)
Creates a 'greater or equal' comparison IBdeFilterExpression. |
IBdeFilterExpression |
createComparisonLess(java.lang.String attribute,
java.lang.String value)
Creates a 'less' comparison IBdeFilterExpression. |
IBdeFilterExpression |
createComparisonLessOrEqual(java.lang.String attribute,
java.lang.String value)
Creates a 'less or equal' comparison IBdeFilterExpression. |
IBdeFilterExpression |
createComparisonNotEqual(java.lang.String attribute,
java.lang.String value)
Creates a 'not equal' comparison IBdeFilterExpression. |
IBdeFilterExpression |
createLogicalAnd(IBdeFilterExpression expression1,
IBdeFilterExpression expression2)
Creates a logical 'and' IBdeFilterExpression. |
IBdeFilterExpression |
createLogicalOr(IBdeFilterExpression expression1,
IBdeFilterExpression expression2)
Creates a logical 'or' IBdeFilterExpression. |
void |
setExpression(IBdeFilterExpression expression)
This method sets an instance of in the IBdeFilter object. |
| Method Detail |
public void setExpression(IBdeFilterExpression expression)
IBdeFilterExpression in the IBdeFilter object.expression - can be a logical expression or comparison expression.
public IBdeFilterExpression createLogicalAnd(IBdeFilterExpression expression1,
IBdeFilterExpression expression2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.expression1 - the expression #1 to be used with the logicalOperator.expression2 - the expression #2 to be used with the logicalOperator.IBdeFilterExpression object
public IBdeFilterExpression createLogicalOr(IBdeFilterExpression expression1,
IBdeFilterExpression expression2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.expression1 - the expression #1 to be used with the logicalOperator.expression2 - the expression #2 to be used with the logicalOperator.IBdeFilterExpression object
public IBdeFilterExpression createComparisonEqual(java.lang.String attribute,
java.lang.String value)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.value - which needs to be used in the comparison.IBdeFilterExpression object
public IBdeFilterExpression createComparisonNotEqual(java.lang.String attribute,
java.lang.String value)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.value - which needs to be used in the comparison.IBdeFilterExpression object
public IBdeFilterExpression createComparisonLess(java.lang.String attribute,
java.lang.String value)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.value - which needs to be used in the comparison.IBdeFilterExpression object
public IBdeFilterExpression createComparisonLessOrEqual(java.lang.String attribute,
java.lang.String value)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.value - which needs to be used in the comparison.IBdeFilterExpression object
public IBdeFilterExpression createComparisonGreater(java.lang.String attribute,
java.lang.String value)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.value - which needs to be used in the comparison.IBdeFilterExpression object
public IBdeFilterExpression createComparisonGreaterOrEqual(java.lang.String attribute,
java.lang.String value)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.value - which needs to be used in the comparison.IBdeFilterExpression object
public IBdeFilterExpression createAttributeComparisonEqual(java.lang.String attribute1,
java.lang.String attribute2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute1 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.attribute2 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes. *IBdeFilterExpression object
public IBdeFilterExpression createAttributeComparisonNotEqual(java.lang.String attribute1,
java.lang.String attribute2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute1 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.attribute2 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes. *IBdeFilterExpression object
public IBdeFilterExpression createAttributeComparisonLess(java.lang.String attribute1,
java.lang.String attribute2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute1 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.attribute2 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes. *IBdeFilterExpression object
public IBdeFilterExpression createAttributeComparisonLessOrEqual(java.lang.String attribute1,
java.lang.String attribute2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute1 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.attribute2 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes. *IBdeFilterExpression object
public IBdeFilterExpression createAttributeComparisonGreater(java.lang.String attribute1,
java.lang.String attribute2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute1 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.attribute2 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes. *IBdeFilterExpression object
public IBdeFilterExpression createAttributeComparisonGreaterOrEqual(java.lang.String attribute1,
java.lang.String attribute2)
IBdeFilterExpression.
This can be set to the IBdeFilter using the setExpression(com.ssaglobal.bde.IBdeFilterExpression) method.
Two Comparison Expressios can be combined using Logical Expressions.attribute1 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes.attribute2 - which needs to be used in the comparison. The Generated BDE proxy provides constants for those attributes. *IBdeFilterExpression object
|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||