Enum UtilityNetworkSource.UsageType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ASSEMBLY
      Assemblies such as switchgear.
      DEVICE
      Network devices, such as transformers or valves.
      EDGE_OBJECT
      Non-spatial edge, such as a fiber strand in a fiber cable.
      JUNCTION
      Miscellaneous junctions not typically tracked as assets, such as taps.
      JUNCTION_OBJECT
      Non-spatial junctions, such as a transceiver in a fiber network.
      LINE
      Lines such as conductors, pipes, or fiber strands.
      STRUCTURE_BOUNDARY
      Polygonal structures, such as substations or town border stations.
      STRUCTURE_EDGE_OBJECT
      Non-spatial structure edge, such as a duct in a duct bank.
      STRUCTURE_JUNCTION
      Point structures, such as poles.
      STRUCTURE_JUNCTION_OBJECT
      Non-spatial structure junction, such as a duct port in a manhole.
      STRUCTURE_LINE
      Linear structures, such as ducts, conduits, or buffer tubes.
      SUBNET_LINE
      System-generated subnetwork lines.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static UtilityNetworkSource.UsageType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static UtilityNetworkSource.UsageType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static UtilityNetworkSource.UsageType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UtilityNetworkSource.UsageType c : UtilityNetworkSource.UsageType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UtilityNetworkSource.UsageType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null