|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFieldRangeFilterItem
This interface is used to represent a primitive expression in a filter string. A primitive expression is an expression that contains a field, an operator, and another field or value.
Method Summary | |
---|---|
boolean |
getInclusive()
Returns whether, if the operator compares a range, the compared value is included in the comparison. |
SelectionOperation |
getOperation()
Returns the type of operation being performed on the field that is being used as a filter. |
IField |
getRangeField()
Returns the range field that represents the field that is being used in the operation. |
Values |
getValues()
Returns the values that are being compared with those in the range field. |
void |
setInclusive(boolean inclusive)
Sets whether, if the operator compares a range, the compared value is included in the comparison. |
void |
setOperation(SelectionOperation operation)
Sets the type of operation being performed on the field that is being used as a filter. |
void |
setRangeField(IField rangeField)
Sets the range field that represents the field that is being used in the operation. |
void |
setValues(Values values)
Sets the values that are being compared with those in the range field. |
Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.IFilterItem |
---|
computeText, displayText |
Method Detail |
---|
boolean getInclusive()
Returns whether, if the operator compares a range, the compared value is included in the comparison. If, for example, the "greater than" operator is used, if Inclusive is True, then the operator will effectively be "greater than or equal to".
true
if the value is included in the comparison,
and false
otherwise.SelectionOperation getOperation()
Returns the type of operation being performed on the field that is being used as a filter.
SelectionOperation
object.IField getRangeField()
Returns the range field that represents the field that is being used in the operation. The range field is the field that is being used in the filter to determine the result of the expression.
IField
.Values getValues()
Returns the values that are being compared with those in the range field. There are two different types of values that are stored: constant values, which represent a literal value, and expression values, which are values that require evaluation.
Values
object.void setInclusive(boolean inclusive)
Sets whether, if the operator compares a range, the compared value is included in the comparison. If, for example, the "greater than" operator is used, if Inclusive is True, then the operator will effectively be "greater than or equal to".
inclusive
- true
if the value is included in the comparison,
and false
otherwise.void setOperation(SelectionOperation operation)
Sets the type of operation being performed on the field that is being used as a filter.
operation
- The SelectionOperation
object.void setRangeField(IField rangeField)
Sets the range field that represents the field that is being used in the operation. The range field is the field that is being used in the filter to determine the result of the expression.
rangeField
- The range field as an IField
.void setValues(Values values)
Sets the values that are being compared with those in the range field. There are two different types of values that are stored: constant values, which represent a literal value, and expression values, which are values that require evaluation.
values
- The values as a Values
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |