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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCatalogName()
Accessor for the catalogjava.lang.String
getFullyQualifiedName(boolean adapterCase)
Accessor for the fully-qualified name.java.lang.String
getName()
Provides the name (with no quotes).java.lang.String
getSchemaName()
Accessor for the schemavoid
setCatalogName(java.lang.String catalogName)
Sets the catalogvoid
setSchemaName(java.lang.String schemaName)
Sets the schemajava.lang.String
toString()
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:
toString
in classjava.lang.Object
- Returns:
- The identifier name
-
-