Class UtilityAssetType
- java.lang.Object
-
- com.esri.arcgisruntime.utilitynetworks.UtilityAssetType
-
public final class UtilityAssetType extends java.lang.Object
Describes the configuration of a particular asset type in a utility network.- Since:
- 100.6.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UtilityAssociationDeletionSemantics
getAssociationDeletionSemantics()
Gets the update applied toUtilityAssociation
objects when deleting an object of this UtilityAssetType.UtilityAssociationRole
getAssociationRole()
Gets the asset type's association role type.java.util.List<UtilityCategory>
getCategories()
Gets an unmodifiable list of asset type's network categories.int
getCode()
Gets the asset type's code.double
getContainerViewScale()
Gets the containment view scale of theUtilityAssetType
If the utility asset type is a point container, this method returns the appropriate display scale (zoom level) for displaying the container when it is opened.java.lang.String
getName()
Gets the asset type's name.UtilityTerminalConfiguration
getTerminalConfiguration()
Gets theUtilityTerminalConfiguration
of theUilityAssetType
Only asset types whose network source isUtilityNetworkSource.UsageType.DEVICE
can have a terminal configuration
-
-
-
Method Detail
-
getAssociationRole
public UtilityAssociationRole getAssociationRole()
Gets the asset type's association role type.- Returns:
- the association role
- Since:
- 100.6.0
-
getCategories
public java.util.List<UtilityCategory> getCategories()
Gets an unmodifiable list of asset type's network categories.- Returns:
- an unmodifiable list of the categories
- Since:
- 100.6.0
-
getCode
public int getCode()
Gets the asset type's code.- Returns:
- the asset type's code
- Since:
- 100.6.0
-
getContainerViewScale
public double getContainerViewScale()
Gets the containment view scale of theUtilityAssetType
If the utility asset type is a point container, this method returns the appropriate display scale (zoom level) for displaying the container when it is opened. For other utility asset types, this property defaults to 0.0.- Returns:
- the container view scale
- Since:
- 100.6.0
-
getName
public java.lang.String getName()
Gets the asset type's name.- Returns:
- the name of the asset type
- Since:
- 100.6.0
-
getTerminalConfiguration
public UtilityTerminalConfiguration getTerminalConfiguration()
Gets theUtilityTerminalConfiguration
of theUilityAssetType
Only asset types whose network source isUtilityNetworkSource.UsageType.DEVICE
can have a terminal configuration- Returns:
- the terminal configuration
- Since:
- 100.6.0
-
getAssociationDeletionSemantics
public UtilityAssociationDeletionSemantics getAssociationDeletionSemantics()
Gets the update applied toUtilityAssociation
objects when deleting an object of this UtilityAssetType.This determines the behavior that occurs when attempting to delete features with this asset type.
- Returns:
- the update applied to
UtilityAssociation
objects when deleting an object of this UtilityAssetType. - Since:
- 100.12.0
-
-