Interface DatastoreIdentifier
-
- All Known Implementing Classes:
CandidateKeyIdentifier,ColumnIdentifier,DatastoreIdentifierImpl,ForeignKeyIdentifier,IndexIdentifier,PrimaryKeyIdentifier,SequenceIdentifier,TableIdentifier
public interface DatastoreIdentifierRepresentation of a datastore identifier in an RDBMS datastore. This can be something like a table name, column name, index name etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCatalogName()Accessor for the catalogjava.lang.StringgetFullyQualifiedName(boolean adapterCase)Accessor for the fully-qualified name.java.lang.StringgetName()Provides the name (with no quotes).java.lang.StringgetSchemaName()Accessor for the schemavoidsetCatalogName(java.lang.String catalogName)Sets the catalogvoidsetSchemaName(java.lang.String schemaName)Sets the schemajava.lang.StringtoString()Method to output the name of the identifier.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Provides the name (with no quotes).- Returns:
- The name
-
setCatalogName
void setCatalogName(java.lang.String catalogName)
Sets the catalog- Parameters:
catalogName- The catalog
-
setSchemaName
void setSchemaName(java.lang.String schemaName)
Sets the schema- Parameters:
schemaName- The schema
-
getCatalogName
java.lang.String getCatalogName()
Accessor for the catalog- Returns:
- The catalog
-
getSchemaName
java.lang.String getSchemaName()
Accessor for the schema- Returns:
- The schema
-
getFullyQualifiedName
java.lang.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
java.lang.String toString()
Method to output the name of the identifier. This will be quoted where necessary.- Overrides:
toStringin classjava.lang.Object- Returns:
- The identifier name
-
-