Enum NamedObject

    • Enum Constant Detail

      • database

        public static final NamedObject database
        a name constisting of max. 1 identifiers, i.e. [database]
      • schema

        public static final NamedObject schema
        a name constisting of max. 2 identifiers, i.e. [database].[schema]
      • table

        public static final NamedObject table
        a name constisting of max. 3 identifiers, i.e. [catalog].[schema].[table]
      • view

        public static final NamedObject view
        a name constisting of max. 3 identifiers, i.e. [catalog].[schema].[view]
      • column

        public static final NamedObject column
        a name constisting of min 2 (the table-reference) and max. 4 identifiers, i.e. [catalog].[schema].[table].[columnName]
      • constraint

        public static final NamedObject constraint
      • uniqueConstraint

        public static final NamedObject uniqueConstraint
      • sequence

        public static final NamedObject sequence
        a name constisting of max. 3 identifiers, i.e. [catalog].[schema].[sequence]
    • Method Detail

      • values

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

        public static NamedObject valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • equalsIgnoreCase

        public boolean equalsIgnoreCase​(String name)