public class CTResultSetCriteria extends CTBase
CTBase
,
CTTable
,
CTRecord
,
CTResultSet
Constructor and Description |
---|
CTResultSetCriteria()
Default constructor for CTResultSetCriteria class
|
CTResultSetCriteria(CTField Field,
java.lang.String LowValue,
java.lang.String HighValue,
int Operator)
Constructor for CTResultSetCriteria class based on a
CTField . |
Modifier and Type | Method and Description |
---|---|
CTField |
getField()
Retrieves the
CTField object for the current criteria |
java.lang.String |
getHighValue()
Retrieves the High value for the current criteria
|
java.lang.String |
getLowValue()
Retrieves the Low value for the current criteria
|
int |
getOperator()
Retrieves the
OPERATOR_TYPE for the current
criteria |
void |
setField(CTField Field)
Sets the
CTField object for the current criteria |
void |
setHighValue(java.lang.String HighValue)
Sets the High value for the current criteria
|
void |
setLowValue(java.lang.String LowValue)
Sets the Low value for the current criteria
|
void |
setOperator(int Operator)
Sets the
OPERATOR_TYPE for the current criteria |
Abort, Begin, ClearSavePoint, Commit, GetAutoCommit, GetHandle, GetKeepLock, GetLockMode, GetOperation, GetTransactionMode, IsLockActive, IsTransActive, IsUnicodeLib, Lock, PrepareCommit, RestoreSavePoint, SetAutoCommit, SetHandle, SetKeepLock, SetOperation, SetSavePoint, SetTransactionMode, Unlock
public CTResultSetCriteria(CTField Field, java.lang.String LowValue, java.lang.String HighValue, int Operator) throws CTException
CTField
.Field
- Existing CTField
handleLowValue
- Minimum data value for the criteriaHighValue
- Maximum data value for the criteriaOperator
- OPERATOR_TYPE
to be used in the criteriaCTException
- in case of errorpublic CTResultSetCriteria() throws CTException
CTException
- in case of errorpublic CTField getField()
CTField
object for the current criteriaCTField
objectsetField(FairCom.CtreeDb.CTField)
,
getHighValue()
,
getLowValue()
,
getOperator()
public java.lang.String getHighValue()
setHighValue(java.lang.String)
,
getField()
,
getLowValue()
,
getOperator()
public java.lang.String getLowValue()
setLowValue(java.lang.String)
,
getField()
,
getHighValue()
,
getOperator()
public int getOperator()
OPERATOR_TYPE
for the current
criteriaOPERATOR_TYPE
valuesetOperator(int)
,
getField()
,
getHighValue()
,
getLowValue()
public void setField(CTField Field) throws CTException
CTField
object for the current criteriaField
- New CTField
objectCTException
- in case of errorgetField()
,
setHighValue(java.lang.String)
,
setLowValue(java.lang.String)
,
setOperator(int)
public void setHighValue(java.lang.String HighValue) throws CTException
HighValue
- New High valueCTException
- in case of errorgetHighValue()
,
setField(FairCom.CtreeDb.CTField)
,
setLowValue(java.lang.String)
,
setOperator(int)
public void setLowValue(java.lang.String LowValue) throws CTException
LowValue
- New Low valueCTException
- in case of errorgetLowValue()
,
setField(FairCom.CtreeDb.CTField)
,
setHighValue(java.lang.String)
,
setOperator(int)
public void setOperator(int Operator) throws CTException
OPERATOR_TYPE
for the current criteriaOperator
- New OPERATOR_TYPE
valueCTException
- in case of errorgetOperator()
,
setField(FairCom.CtreeDb.CTField)
,
setHighValue(java.lang.String)
,
setLowValue(java.lang.String)