org.datanucleus.store.mapped
Interface DatastoreIdentifier

All Known Implementing Classes:
DatastoreIdentifierImpl

public interface DatastoreIdentifier

Representation of an datastore identifier in an ORM datastore. This can be something like a table name, or column name etc.


Method Summary
 String getCatalogName()
          Accessor for the catalog name
 String getFullyQualifiedName(boolean adapterCase)
          Accessor for the fully-qualified name.
 String getIdentifierName()
          Provides the identifier with no quotes.
 String getSchemaName()
          Accessor for the schema name
 void setCatalogName(String catalogName)
          Sets the catalog name
 void setSchemaName(String schemaName)
          Sets the schema name
 String toString()
          Method to output the name of the identifier.
 

Method Detail

getIdentifierName

String getIdentifierName()
Provides the identifier with no quotes.

Returns:
The name

setCatalogName

void setCatalogName(String catalogName)
Sets the catalog name

Parameters:
catalogName - The catalog name

setSchemaName

void setSchemaName(String schemaName)
Sets the schema name

Parameters:
schemaName - The schema name

getCatalogName

String getCatalogName()
Accessor for the catalog name

Returns:
The catalog name

getSchemaName

String getSchemaName()
Accessor for the schema name

Returns:
The schema name

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


Copyright © 2012. All Rights Reserved.