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 Summary
Modifier and TypeMethodDescriptionAccessor for the cataloggetFullyQualifiedName
(boolean adapterCase) Accessor for the fully-qualified name.getName()
Provides the name (with no quotes).Accessor for the schemavoid
setCatalogName
(String catalogName) Sets the catalogvoid
setSchemaName
(String schemaName) Sets the schematoString()
Method to output the name of the identifier.
-
Method Details
-
getName
String getName()Provides the name (with no quotes).- Returns:
- The name
-
setCatalogName
Sets the catalog- Parameters:
catalogName
- The catalog
-
setSchemaName
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
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.
-