|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.persistence.TestCriteria
com.sybase.persistence.CompositeTest
public class CompositeTest
Contains composite filter information for getting data from Mobile Business Objects.
Field Summary | |
---|---|
static int |
AND
|
static int |
NOT
|
static int |
OR
|
Constructor Summary | |
---|---|
CompositeTest()
Sybase internal use only. |
|
CompositeTest(Filter[] filters,
int compositionType)
Deprecated. |
Method Summary | |
---|---|
protected void |
_init()
|
void |
add(TestCriteria operand)
Add the test criteria for compsite tests |
void |
addFilter(Filter filter)
Add the test criteria for compsite tests |
Filter |
get(int index)
Return the operands at the specified position of the filters |
int |
getCompositionType()
Deprecated. |
int |
getCount()
Deprecated. |
TestCriteriaList |
getOperands()
Sybase internal use only. |
int |
getOperator()
Get the operator type. |
CompositeTest |
initOperands(TestCriteriaList _operands)
Sybase internal use only. |
CompositeTest |
initOperator(int _operator)
Sybase internal use only. |
void |
removeFilter(Filter filter)
Remove the test criteria from the critera lists |
void |
removeFilterAt(int index)
Remove the test criteria from the test critera lists at the specified position |
void |
set(int index,
Filter filter)
Set the operands at the specified position of the operands |
void |
setCompositionType(int compositionType)
Deprecated. |
void |
setOperands(TestCriteriaList _operands)
set the test criterias for composite tests |
void |
setOperator(int _operator)
Set the operator type. |
Methods inherited from class com.sybase.persistence.TestCriteria |
---|
and, not, or |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NOT
public static final int AND
public static final int OR
Constructor Detail |
---|
public CompositeTest()
public CompositeTest(Filter[] filters, int compositionType)
Method Detail |
---|
public CompositeTest initOperator(int _operator)
public int getOperator()
public void setOperator(int _operator)
public CompositeTest initOperands(TestCriteriaList _operands)
public int getCompositionType()
public void setCompositionType(int compositionType)
public TestCriteriaList getOperands()
public void setOperands(TestCriteriaList _operands)
_operands
- test criterials for composite testspublic void add(TestCriteria operand)
operand
- the filter to addpublic int getCount()
public Filter get(int index)
index
- index of the filter to returnpublic void set(int index, Filter filter)
index
- index of the filterfilter
- the filter operand to setpublic void addFilter(Filter filter)
filter
- the filter to addpublic void removeFilter(Filter filter)
filter
- the filter to removepublic void removeFilterAt(int index)
index
- the index of the test critera to removeprotected void _init()
_init
in class TestCriteria
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |