public class FilterCriteria extends Object
Defines the criteria that tasks or resources must meet to be displayed in MSP view.
Constructor and Description |
---|
FilterCriteria() |
Modifier and Type | Method and Description |
---|---|
List<FilterCriteria> |
getCriteriaRows()
A List of child
FilterCriteria rows. |
int |
getField()
|
int |
getOperation()
Specifies how the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
|
int |
getTest()
Gets a type of comparison made between FieldName and Value that acts as selection criteria for the filter.
|
Object[] |
getValues()
Gets the object values to compare with the value of the field specified with FieldName.
|
void |
setField(int value)
|
void |
setOperation(int value)
Specifies how the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
|
void |
setTest(int value)
Sets a type of comparison made between FieldName and Value that acts as selection criteria for the filter.
|
String |
toString()
Gets a string representation of this criteria.
|
public final List<FilterCriteria> getCriteriaRows()
A List of child FilterCriteria
rows.
If the filter contains more than one criterion row then the effect of an And operator is that the criteria for
both rows must be met for the task or resource to be displayed as a result of this filter.
The effect of an Or operator is that the criteria for one or the other row must be met.
public final int getField()
A Field
(getField()
/setField(int)
) to change.
public final void setField(int value)
A Field
(getField()
/setField(int)
) to change.
value
- a field to change.public final int getOperation()
Specifies how the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
public void setOperation(int value)
Specifies how the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
value
- FilterOperation enumerated type value.public final int getTest()
Gets a type of comparison made between FieldName and Value that acts as selection criteria for the filter.
FilterComparisonType
public final void setTest(int value)
value
- FilterComparisonType enumerated type value.public final Object[] getValues()
Gets the object values to compare with the value of the field specified with FieldName.
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.