java.lang.Object
com.invirgance.convirgance.jdbc.schema.Catalog
All Implemented Interfaces:
NamedSchema

public class Catalog extends Object implements NamedSchema
Represents a database catalog. This can be used to get the Schema of a database through DatabaseSchemaLayout.getCatalog(name).
Author:
jbanes
  • Method Details

    • getName

      public String getName()
      Description copied from interface: NamedSchema
      Get the schema name of this database object
      Specified by:
      getName in interface NamedSchema
      Returns:
      name of the object with exact database capitalization
    • getQuotedName

      public String getQuotedName()
      Description copied from interface: NamedSchema
      Get the schema name of this database object quoted for use in a SQL statement
      Specified by:
      getQuotedName in interface NamedSchema
      Returns:
      name of the object quoted for use in a SQL statement
    • getSchemas

      public Schema[] getSchemas()
      Returns all Schemas.
      Returns:
      An array of Schemas.
    • getSchema

      public Schema getSchema(String name)
      Returns the Schema that has the provided name.
      Parameters:
      name - The Schema's name.
      Returns:
      The Schema.
    • toString

      public String toString()
      Overrides:
      toString in class Object