org.salespointframework.core.data.database
Interface DatabaseConnectionTemplate

All Known Implementing Classes:
JavaDBClientTemplate, JavaDBEmbeddedTemplate, MssqlTemplate, MysqlTemplate, SqliteTemplate

public interface DatabaseConnectionTemplate

This template is used to instance a new DatabaseConnection. register your template via PersistenceManager.getConnectionTemplates()

Since:
4.0
Author:
Thomas Kissinger
See Also:
DatabaseConnection, PersistenceManager

Method Summary
 java.lang.String getDeatiledDescription()
          get the detailed description of this template
 java.lang.String getDescription()
          get the description of this template
 java.awt.image.BufferedImage getImage()
          get the image of this template
 java.lang.String getName()
          get the name of this template
 DatabaseConnection newInstance()
          create a new instance of DatabaseConnection
 

Method Detail

newInstance

DatabaseConnection newInstance()
create a new instance of DatabaseConnection

Returns:
new DatabaseConnection

getImage

java.awt.image.BufferedImage getImage()
get the image of this template

Returns:
template image

getName

java.lang.String getName()
get the name of this template

Returns:
template name

getDescription

java.lang.String getDescription()
get the description of this template

Returns:
template description

getDeatiledDescription

java.lang.String getDeatiledDescription()
get the detailed description of this template

Returns:
template's detailed description