withAttribute static method
- required UtilityNetworkAttribute networkAttribute,
- required UtilityAttributeComparisonOperator comparisonOperator,
- required UtilityNetworkAttribute otherNetworkAttribute,
Creates a condition comparing the value of one UtilityNetworkAttribute to another.
Parameters:
networkAttribute— The source UtilityNetworkAttribute that the value is compared to.comparisonOperator— The type of comparison to do between the source UtilityNetworkAttribute and another UtilityNetworkAttribute.otherNetworkAttribute— The UtilityNetworkAttribute being compared against another UtilityNetworkAttribute on each of the nodes.