Class 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 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 the UtilityAssetType 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
      • getAssociationDeletionSemantics

        public UtilityAssociationDeletionSemantics getAssociationDeletionSemantics()
        Gets the update applied to UtilityAssociation 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