org.brains2b.sql.meta
Interface SQLMetaModel

All Known Implementing Classes:
ColumnModel, ConstraintModel, IndexModel, ParameterModel, ProcedureModel, TableModel

public interface SQLMetaModel

Interface that defines general information for the wrapper of the database meta models on the basis of SQLRecord

Version:
1.00 [25-03-2007]
Author:
dennis@brains2b.nl
See Also:
SQLRecord

Method Summary
 java.lang.String getName()
          get the name for this model's instance
 SQLRecord getRecord()
          the record which defines all the values for the model
 java.lang.String getType()
          get the type of Object defined by the meta model
 

Method Detail

getType

java.lang.String getType()
get the type of Object defined by the meta model

returned value depends on the model: TABLE,COLUMN,INDEX

Returns:
String

getName

java.lang.String getName()
get the name for this model's instance

This is equal to the name of the table,column, etc.

Returns:
String

getRecord

SQLRecord getRecord()
the record which defines all the values for the model

Returns:
SQLRecord