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

public java.lang.String toString()
Method to output the name of the identifier. This will be quoted where necessary.

Returns:
The identifier name

getIdentifier

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

Returns:
The name

getNewIdentifier

public 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

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

Parameters:
catalogName - The catalog name

setSchemaName

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

Parameters:
schemaName - The schema name

getCatalogName

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

Returns:
The catalog name

getSchemaName

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

Returns:
The schema name


Copyright © -2007 . All Rights Reserved.