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
 java.lang.String getCatalogName()
          Accessor for the catalog name
 java.lang.String getFullyQualifiedName(boolean adapterCase)
          Accessor for the fully-qualified name.
 java.lang.String getIdentifierName()
          Provides the identifier with no quotes.
 java.lang.String getSchemaName()
          Accessor for the schema name
 void setCatalogName(java.lang.String catalogName)
          Sets the catalog name
 void setSchemaName(java.lang.String schemaName)
          Sets the schema name
 java.lang.String toString()
          Method to output the name of the identifier.
 

Method Detail

getIdentifierName

java.lang.String getIdentifierName()
Provides the identifier with no quotes.

Returns:
The name

setCatalogName

void setCatalogName(java.lang.String catalogName)
Sets the catalog name

Parameters:
catalogName - The catalog name

setSchemaName

void setSchemaName(java.lang.String schemaName)
Sets the schema name

Parameters:
schemaName - The schema name

getCatalogName

java.lang.String getCatalogName()
Accessor for the catalog name

Returns:
The catalog name

getSchemaName

java.lang.String getSchemaName()
Accessor for the schema name

Returns:
The schema name

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 class java.lang.Object
Returns:
The identifier name


Copyright © 2010. All Rights Reserved.