Enum ParameterTagMapping

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

    public enum ParameterTagMapping
    extends java.lang.Enum<ParameterTagMapping>
    Mapping of connection parameter buffer item tags.

    This mapping is intended to reduce code duplication with database and service parameter buffers.

    For now this only contains authentication related tags. This may be expanded in the future.

    Since:
    3.0
    Author:
    Mark Rotteveel
    • Method Detail

      • values

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

        public static ParameterTagMapping 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
      • getUserNameTag

        public abstract int getUserNameTag()
      • getPasswordTag

        public abstract int getPasswordTag()
      • getEncryptedPasswordTag

        public abstract int getEncryptedPasswordTag()
      • getTrustedAuthTag

        public abstract int getTrustedAuthTag()
      • getAuthPluginNameTag

        public abstract int getAuthPluginNameTag()
      • getAuthPluginListTag

        public abstract int getAuthPluginListTag()
      • getSpecificAuthDataTag

        public abstract int getSpecificAuthDataTag()
      • getConfigTag

        public abstract int getConfigTag()