Class PBESearchCondition
Object
|
+--PBESearchCondition
- Direct Known Subclasses:
- PBEContainsSearchCondition, PBEDefaultSearchCondition, PBEEqSearchCondition, PBEGteSearchCondition, PBEGtSearchCondition, PBELteSearchCondition, PBELtSearchCondition, PBENoSearchCondition
- public class PBESearchCondition
- extends Object
|
Method Summary |
varchar |
getCondition()
This function correctly returns the condition for search, provided the
getStatus() method above returned an empty string. |
varchar |
getConditionValue(generic value)
Return the value for the condition. |
varchar |
getOperator(integer type)
Return the operator for the condition. |
varchar |
getStatus()
The result of this function determines whether the condition should
be included in the search. |
column
public PBEColumn column
PBESearchCondition
public PBESearchCondition(PBEColumn column)
getStatus
public varchar getStatus()
- The result of this function determines whether the condition should
be included in the search. If the function returns $null, then it
should not be included. If it returns the empty string then it should
be included. A non-empty string indicates an error.
getOperator
public varchar getOperator(integer type)
- Return the operator for the condition. By default this is equal.
getConditionValue
public varchar getConditionValue(generic value)
- Return the value for the condition. By default this is the
column value in quotes.
getCondition
public varchar getCondition()
- This function correctly returns the condition for search, provided the
getStatus() method above returned an empty string.