Module com.esri.arcgisruntime
Class UtilityNetworkSource
java.lang.Object
com.esri.arcgisruntime.utilitynetworks.UtilityNetworkSource
Defines a network source in a utility network.
- Since:
- 100.6.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines different utility network source types.static enum
Defines different utility network source usage types. -
Method Summary
Modifier and TypeMethodDescriptiongetAssetGroup
(String assetGroupName) Gets the asset group with a matching name.Gets an unmodifiable list of the utility network source's asset groups.Gets the feature table associated with this network source.getName()
Gets the utility network source's name.int
Gets the utility network source's ID.Gets the utility network source's type.Gets the utility network source's usage type.
-
Method Details
-
getAssetGroup
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
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
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
Gets the utility network source's name.- Returns:
- the name of the network source
- Since:
- 100.6.0
-
getSourceUsageType
Gets the utility network source's usage type.- Returns:
- the source usage type
- Since:
- 100.6.0
-
getSourceType
Gets the utility network source's type.- Returns:
- the source type
- Since:
- 100.6.0
-