Class UtilityNetworkSource
- java.lang.Object
-
- com.esri.arcgisruntime.utilitynetworks.UtilityNetworkSource
-
public final class UtilityNetworkSource extends java.lang.Object
Defines a network source in a utility network.- Since:
- 100.6.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UtilityNetworkSource.Type
Defines different utility network source types.static class
UtilityNetworkSource.UsageType
Defines different utility network source usage types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UtilityAssetGroup
getAssetGroup(java.lang.String assetGroupName)
Gets the asset group with a matching name.java.util.List<UtilityAssetGroup>
getAssetGroups()
Gets an unmodifiable list of the utility network source's asset groups.ArcGISFeatureTable
getFeatureTable()
Gets the feature table associated with this network source.java.lang.String
getName()
Gets the utility network source's name.int
getSourceId()
Gets the utility network source's ID.UtilityNetworkSource.Type
getSourceType()
Gets the utility network source's type.UtilityNetworkSource.UsageType
getSourceUsageType()
Gets the utility network source's usage type.
-
-
-
Method Detail
-
getAssetGroup
public UtilityAssetGroup getAssetGroup(java.lang.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:
java.lang.IllegalArgumentException
- if assetGroupName is null or empty- Since:
- 100.6.0
-
getAssetGroups
public java.util.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 java.lang.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
-
-