org.jpox.store
Interface DatastoreIdentifier


public interface DatastoreIdentifier

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

Version:
$Revision: 1.6 $

Method Summary
 java.lang.String getCatalogName()
          Accessor for the catalog name
 java.lang.String getIdentifier()
          Provides the identifier with no quotes.
 DatastoreIdentifier getNewIdentifier(java.lang.String suffix)
          Provides a new identifier for the given suffix.
 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

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

getIdentifier

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

Returns:
The name

getNewIdentifier

DatastoreIdentifier getNewIdentifier(java.lang.String suffix)
Provides a new identifier for the given suffix.

Parameters:
suffix - The suffix for the identifier.
Returns:
The identifier

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


Copyright © -2008 . All Rights Reserved.