Package FairCom.CtreeDb
Class CTResultSetCriteria
"Result set" criteria management class.
A CTResultSetCriteria belongs to one CTResultSet, and contains information about
a field criteria: Field handle, minimum value, maximum value (used only for
range operators) and operator
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructor for CTResultSetCriteria classCTResultSetCriteria
(CTField Field, String LowValue, String HighValue, int Operator) Constructor for CTResultSetCriteria class based on aCTField
. -
Method Summary
Modifier and TypeMethodDescriptiongetField()
Retrieves theCTField
object for the current criteriaRetrieves the High value for the current criteriaRetrieves the Low value for the current criteriaint
Retrieves theOPERATOR_TYPE
for the current criteriavoid
Sets theCTField
object for the current criteriavoid
setHighValue
(String HighValue) Sets the High value for the current criteriavoid
setLowValue
(String LowValue) Sets the Low value for the current criteriavoid
setOperator
(int Operator) Sets theOPERATOR_TYPE
for the current criteriaMethods inherited from class CTBase
Abort, Begin, ClearSavePoint, Commit, GetAutoCommit, GetHandle, GetKeepLock, GetLockMode, GetOperation, GetTransactionMode, IsLockActive, IsTransActive, IsUnicodeLib, Lock, PrepareCommit, RestoreSavePoint, SetAutoCommit, SetHandle, SetKeepLock, SetOperation, SetSavePoint, SetTransactionMode, Unlock
-
Constructor Details
-
CTResultSetCriteria
public CTResultSetCriteria(CTField Field, String LowValue, String HighValue, int Operator) throws CTException Constructor for CTResultSetCriteria class based on aCTField
.- Parameters:
Field
- ExistingCTField
handleLowValue
- Minimum data value for the criteriaHighValue
- Maximum data value for the criteriaOperator
-OPERATOR_TYPE
to be used in the criteria- Throws:
CTException
- in case of error
-
CTResultSetCriteria
Default constructor for CTResultSetCriteria class- Throws:
CTException
- in case of error
-
-
Method Details
-
getField
Retrieves theCTField
object for the current criteria- Returns:
- Current
CTField
object - See Also:
-
getHighValue
Retrieves the High value for the current criteria- Returns:
- High value criteria
- See Also:
-
getLowValue
Retrieves the Low value for the current criteria- Returns:
- Low value criteria
- See Also:
-
getOperator
public int getOperator()Retrieves theOPERATOR_TYPE
for the current criteria- Returns:
- Current
OPERATOR_TYPE
value - See Also:
-
setField
Sets theCTField
object for the current criteria- Parameters:
Field
- NewCTField
object- Throws:
CTException
- in case of error- See Also:
-
setHighValue
Sets the High value for the current criteria- Parameters:
HighValue
- New High value- Throws:
CTException
- in case of error- See Also:
-
setLowValue
Sets the Low value for the current criteria- Parameters:
LowValue
- New Low value- Throws:
CTException
- in case of error- See Also:
-
setOperator
Sets theOPERATOR_TYPE
for the current criteria- Parameters:
Operator
- NewOPERATOR_TYPE
value- Throws:
CTException
- in case of error- See Also:
-