com.iplanet.jato.model.sql
Interface SQLModel

All Superinterfaces:
ExecutingModel, Model
All Known Subinterfaces:
DeleteQueryModel, InsertQueryModel, ModifyingQueryModel, QueryModel, SelectQueryModel, StoredProcModel, UpdateQueryModel

public interface SQLModel
extends ExecutingModel

The basis for all models that use SQL or a database as their backing data store

Version:
JATO/1.2.2 $Id: SQLModel.java,v 1.7 2002/03/16 03:26:33 todd Exp $

Method Summary
 java.lang.String getDataSourceName()
          Returns the logical name of the SQL datasource this model uses.
 
Methods inherited from interface com.iplanet.jato.model.ExecutingModel
execute
 
Methods inherited from interface com.iplanet.jato.model.Model
getName, getValue, getValues, setName, setValue, setValues
 

Method Detail

getDataSourceName

public java.lang.String getDataSourceName()
Returns the logical name of the SQL datasource this model uses. This name can be arbitrary, but is likely to be of the JNDI form described in the JDBC 2.0 Standard Extension specification, or use withing a J2EE-compliant container; for example, jdbc/MyDataSource or jdbc/MyApp/MyDataSource
Returns:
The logical datasource name