java.lang.Object
java.lang.Enum<AuditLogColumn>
org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.postgres.schema.AuditLogColumn
All Implemented Interfaces:
Serializable, Comparable<AuditLogColumn>, Constable, PostgreSQLColumn

public enum AuditLogColumn extends Enum<AuditLogColumn> implements PostgreSQLColumn
Describes the different types of columns found in the audit log database schema
  • Enum Constant Details

  • Method Details

    • values

      public static AuditLogColumn[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AuditLogColumn valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getColumnName

      public String getColumnName()
      retrieve the name of the column.
      Specified by:
      getColumnName in interface PostgreSQLColumn
      Returns:
      name
    • getColumnName

      public String getColumnName(String tableName)
      retrieve the qualified name of the column.
      Parameters:
      tableName - name of table
      Returns:
      name
    • getColumnType

      public ColumnType getColumnType()
      Return the type of the column.
      Specified by:
      getColumnType in interface PostgreSQLColumn
      Returns:
      ColumnType
    • getColumnDescription

      public String getColumnDescription()
      Return th optional description for the column.
      Specified by:
      getColumnDescription in interface PostgreSQLColumn
      Returns:
      text
    • isNotNull

      public boolean isNotNull()
      Return whether the column is not null;
      Specified by:
      isNotNull in interface PostgreSQLColumn
      Returns:
      boolean