Class UtilityNetworkSource

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

public final class UtilityNetworkSource extends Object
Defines a network source in a utility network.
Since:
100.6.0
  • Method Details

    • getAssetGroup

      public UtilityAssetGroup getAssetGroup(String assetGroupName)
      Gets the asset group with a matching name.
      Parameters:
      assetGroupName - asset group name
      Returns:
      the asset group or null if assetGroupName not found
      Throws:
      IllegalArgumentException - if assetGroupName is null or empty
      Since:
      100.6.0
    • getAssetGroups

      public List<UtilityAssetGroup> getAssetGroups()
      Gets an unmodifiable list of the utility network source's asset groups.
      Returns:
      an unmodifiable list of the asset groups
      Since:
      100.6.0
    • getFeatureTable

      public ArcGISFeatureTable getFeatureTable()
      Gets the feature table associated with this network source.
      Returns:
      the ArcGISFeatureTable
      Since:
      100.6.0
    • getSourceId

      public int getSourceId()
      Gets the utility network source's ID.
      Returns:
      the source ID
      Since:
      100.6.0
    • getName

      public String getName()
      Gets the utility network source's name.
      Returns:
      the name of the network source
      Since:
      100.6.0
    • getSourceUsageType

      public UtilityNetworkSource.UsageType getSourceUsageType()
      Gets the utility network source's usage type.
      Returns:
      the source usage type
      Since:
      100.6.0
    • getSourceType

      public UtilityNetworkSource.Type getSourceType()
      Gets the utility network source's type.
      Returns:
      the source type
      Since:
      100.6.0