Interface DatastoreIdentifier

All Known Implementing Classes:
CandidateKeyIdentifier, ColumnIdentifier, DatastoreIdentifierImpl, ForeignKeyIdentifier, IndexIdentifier, PrimaryKeyIdentifier, SequenceIdentifier, TableIdentifier

public interface DatastoreIdentifier
Representation of a datastore identifier in an RDBMS datastore. This can be something like a table name, column name, index name etc.
  • Method Details

    • getName

      String getName()
      Provides the name (with no quotes).
      Returns:
      The name
    • setCatalogName

      void setCatalogName(String catalogName)
      Sets the catalog
      Parameters:
      catalogName - The catalog
    • setSchemaName

      void setSchemaName(String schemaName)
      Sets the schema
      Parameters:
      schemaName - The schema
    • getCatalogName

      String getCatalogName()
      Accessor for the catalog
      Returns:
      The catalog
    • getSchemaName

      String getSchemaName()
      Accessor for the schema
      Returns:
      The schema
    • getFullyQualifiedName

      String getFullyQualifiedName(boolean adapterCase)
      Accessor for the fully-qualified name.
      Parameters:
      adapterCase - Whether to return the name in adapter case (upper/lower and with quotes etc)
      Returns:
      Fully qualified name
    • toString

      String toString()
      Method to output the name of the identifier. This will be quoted where necessary.
      Overrides:
      toString in class Object
      Returns:
      The identifier name