Class UtilityRuleElement

java.lang.Object
com.esri.arcgisruntime.utilitynetworks.UtilityRuleElement

public final class UtilityRuleElement extends Object
Specifies the type of features participating in a network rule.

A rule element describes the type of features to which a network rule is applied.

A rule element participating in a network rule can be one of the following:

Attachment network rules place a structure feature in the UtilityRule.fromElementProperty() and attachment features in the UtilityRule.toElementProperty(). Containment network rules place a container feature in the UtilityRule.fromElementProperty() and content features in the UtilityRule.toElementProperty(). If nested containment is allowed, another container feature may be placed in the UtilityRule.toElementProperty(). Connectivity network rules with an UtilityRule.viaElementProperty() have a junction feature.

Network rules that support terminal connectivity use these rule elements to define which terminal the rule is applicable for.

Since:
200.1.0
  • Property Details

  • Method Details

    • assetGroupProperty

      public ReadOnlyObjectProperty<UtilityAssetGroup> assetGroupProperty()
      The asset group that contains the asset type bound by a network rule.
      Since:
      200.1.0
      See Also:
    • getAssetGroup

      public UtilityAssetGroup getAssetGroup()
      Gets the value of the property assetGroup.
      Property description:
      The asset group that contains the asset type bound by a network rule.
      Since:
      200.1.0
    • assetTypeProperty

      public ReadOnlyObjectProperty<UtilityAssetType> assetTypeProperty()
      The asset type bound by a network rule.
      Since:
      200.1.0
      See Also:
    • getAssetType

      public UtilityAssetType getAssetType()
      Gets the value of the property assetType.
      Property description:
      The asset type bound by a network rule.
      Since:
      200.1.0
    • networkSourceProperty

      public ReadOnlyObjectProperty<UtilityNetworkSource> networkSourceProperty()
      The network source that contains the asset group and asset type bound by a network rule.
      Since:
      200.1.0
      See Also:
    • getNetworkSource

      public UtilityNetworkSource getNetworkSource()
      Gets the value of the property networkSource.
      Property description:
      The network source that contains the asset group and asset type bound by a network rule.
      Since:
      200.1.0
    • terminalProperty

      public ReadOnlyObjectProperty<UtilityTerminal> terminalProperty()
      The terminal of the asset type where a network rule is applicable.

      Only applicable to asset types with terminals and network rules that support terminal connectivity.

      Since:
      200.1.0
      See Also:
    • getTerminal

      public UtilityTerminal getTerminal()
      Gets the value of the property terminal.
      Property description:
      The terminal of the asset type where a network rule is applicable.

      Only applicable to asset types with terminals and network rules that support terminal connectivity.

      Since:
      200.1.0