Class UtilityCategoryComparison
- java.lang.Object
-
- com.esri.arcgisruntime.utilitynetworks.UtilityTraceCondition
-
- com.esri.arcgisruntime.utilitynetworks.UtilityTraceConditionalExpression
-
- com.esri.arcgisruntime.utilitynetworks.UtilityCategoryComparison
-
public final class UtilityCategoryComparison extends UtilityTraceConditionalExpression
A condition evaluating whether a particularUtilityCategory
exists on a feature in the trace.- Since:
- 100.7.0
-
-
Constructor Summary
Constructors Constructor Description UtilityCategoryComparison(UtilityCategory category, UtilityCategoryComparisonOperator categoryOperator)
Creates a condition evaluating whether aUtilityCategory
exists on a feature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UtilityCategory
getCategory()
Gets theUtilityCategory
to evaluate as part of the condition.UtilityCategoryComparisonOperator
getComparisonOperator()
Gets the type of comparison to do between theUtilityCategory
and each feature in the trace.
-
-
-
Constructor Detail
-
UtilityCategoryComparison
public UtilityCategoryComparison(UtilityCategory category, UtilityCategoryComparisonOperator categoryOperator)
Creates a condition evaluating whether aUtilityCategory
exists on a feature.- Parameters:
category
- the category to evaluate as part of the conditioncategoryOperator
- the type of comparison to do between theUtilityCategory
and each feature in the trace.- Throws:
IllegalArgumentException
- if category is nullIllegalArgumentException
- if categoryOperator is null- Since:
- 100.7.0
-
-
Method Detail
-
getCategory
public UtilityCategory getCategory()
Gets theUtilityCategory
to evaluate as part of the condition.- Returns:
- the utility category to evaluate as part of the condition
- Since:
- 100.7.0
-
getComparisonOperator
public UtilityCategoryComparisonOperator getComparisonOperator()
Gets the type of comparison to do between theUtilityCategory
and each feature in the trace.- Returns:
- the type of comparison to do
- Since:
- 100.7.0
-
-