Enum ChargingConnectorType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ChargingConnectorType>

    public enum ChargingConnectorType
    extends java.lang.Enum<ChargingConnectorType>

    Available charging connector types.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CHADEMO
      CHAdeMO connector.
      GBT_DC
      Guobiao GB/T 20234.3 DC connector, commonly called "GB/T DC".
      IEC_62196_TYPE_1_COMBO
      Type 1 Combo connector, commonly called "CCS1".
      IEC_62196_TYPE_2_COMBO
      Type 2 Combo connector, commonly called "CCS2".
      TESLA
      Tesla connector.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ChargingConnectorType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ChargingConnectorType[] 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
    • Enum Constant Detail

      • IEC_62196_TYPE_1_COMBO

        public static final ChargingConnectorType IEC_62196_TYPE_1_COMBO

        Type 1 Combo connector, commonly called "CCS1".

      • IEC_62196_TYPE_2_COMBO

        public static final ChargingConnectorType IEC_62196_TYPE_2_COMBO

        Type 2 Combo connector, commonly called "CCS2".

      • GBT_DC

        public static final ChargingConnectorType GBT_DC

        Guobiao GB/T 20234.3 DC connector, commonly called "GB/T DC".

    • Method Detail

      • values

        public static ChargingConnectorType[] 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 (ChargingConnectorType c : ChargingConnectorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChargingConnectorType 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