fedora.server.utilities
Interface DDLConverter

All Known Implementing Classes:
McKoiDDLConverter, MySQLDDLConverter, OracleDDLConverter

public interface DDLConverter

Title: DDLConverter.java

Description: Interface for a converter of TableSpec objects to RDBMS-specific DDL code.

Implementations of this class must be thread-safe. That is, one instance can be used simultanously without problems. This typically just means that no varying fields should be used.

Implementations must also have a public no-arg constructor.

Version:
$Id: DDLConverter.java,v 1.11 2005/07/15 11:57:25 rlw Exp $
Author:
cwilper@cs.cornell.edu

Method Summary
 java.util.List getDDL(TableSpec tableSpec)
           
 java.lang.String getDeleteDDL(java.lang.String command)
           
 java.lang.String getDropDDL(java.lang.String command)
           
 boolean supportsTableType()
           
 

Method Detail

supportsTableType

public boolean supportsTableType()

getDDL

public java.util.List getDDL(TableSpec tableSpec)

getDropDDL

public java.lang.String getDropDDL(java.lang.String command)

getDeleteDDL

public java.lang.String getDeleteDDL(java.lang.String command)