Package org.jooq.meta

Interface EnumDefinition

All Superinterfaces:
Definition
All Known Implementing Classes:
DefaultEnumDefinition

public interface EnumDefinition extends Definition
A definition for an ENUM UDT
Author:
Lukas Eder
  • Method Details

    • getLiterals

      List<String> getLiterals()
      Returns:
      The literals defined in this enum
    • isSynthetic

      boolean isSynthetic()
      Description copied from interface: Definition
      Whether the object has been created "synthetically", i.e. from SyntheticObjectsType, rather than from the underlying meta data source.
      Specified by:
      isSynthetic in interface Definition
      Returns:
      Whether this enum type is "synthetic", i.e. not defined in the database, but in code generation configurations.