stdmql.translation_libraries
Interface TranslationLibrary

All Superinterfaces:
java.io.Serializable

public interface TranslationLibrary
extends java.io.Serializable


Method Summary
 TranslationLibrary buildUp(java.sql.ResultSet rs, int columnId)
           
 boolean checkCompatibility(java.lang.String type, java.sql.ResultSet obj, int col)
           
 java.lang.String getBindDbType()
           
 java.lang.String getName()
           
 stdmql.types.SimpleType getShape()
           
 java.lang.String getSQLValue()
           
 boolean InitializeTable(java.sql.Statement st, java.lang.String name)
           
 boolean Materialize(java.sql.Statement st, java.lang.String name, java.lang.String id)
           
 java.lang.String toString()
           
 

Method Detail

buildUp

TranslationLibrary buildUp(java.sql.ResultSet rs,
                           int columnId)
                           throws java.lang.Exception
Parameters:
rs - the resultset which contains the data/model objects
columnId - the column which contain the data/model objects
Returns:
the internal representation which is a new instance It builds the internal representation of the data/model from the database
Throws:
java.lang.Exception

getBindDbType

java.lang.String getBindDbType()
Returns:
the name of the object type used to reprensent the data/model in the database

getSQLValue

java.lang.String getSQLValue()
Returns:
The database representation of the data/model object

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

Materialize

boolean Materialize(java.sql.Statement st,
                    java.lang.String name,
                    java.lang.String id)

InitializeTable

boolean InitializeTable(java.sql.Statement st,
                        java.lang.String name)

getName

java.lang.String getName()

getShape

stdmql.types.SimpleType getShape()
Returns:
The high level representation of the data/model object

checkCompatibility

boolean checkCompatibility(java.lang.String type,
                           java.sql.ResultSet obj,
                           int col)