org.salespointframework.core.data.database
Class MysqlTemplate

java.lang.Object
  extended by org.salespointframework.core.data.database.MysqlTemplate
All Implemented Interfaces:
DatabaseConnectionTemplate

public class MysqlTemplate
extends java.lang.Object
implements DatabaseConnectionTemplate

Connection Template for mysql connections

Since:
4.0
Author:
Thomas Kissinger

Constructor Summary
MysqlTemplate()
           
 
Method Summary
 java.lang.String getDeatiledDescription()
          returns the static detailed description
 java.lang.String getDescription()
          returns the static description
 java.awt.image.BufferedImage getImage()
          loads and returns the static connection image
 java.lang.String getName()
          returns the static name
 DatabaseConnection newInstance()
          returns a new instance of MysqlDatabaseConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MysqlTemplate

public MysqlTemplate()
Method Detail

getDescription

public java.lang.String getDescription()
returns the static description

Specified by:
getDescription in interface DatabaseConnectionTemplate
Returns:
template description

getImage

public java.awt.image.BufferedImage getImage()
loads and returns the static connection image

Specified by:
getImage in interface DatabaseConnectionTemplate
Returns:
template image

getName

public java.lang.String getName()
returns the static name

Specified by:
getName in interface DatabaseConnectionTemplate
Returns:
template name

newInstance

public DatabaseConnection newInstance()
returns a new instance of MysqlDatabaseConnection

Specified by:
newInstance in interface DatabaseConnectionTemplate
Returns:
new DatabaseConnection

getDeatiledDescription

public java.lang.String getDeatiledDescription()
returns the static detailed description

Specified by:
getDeatiledDescription in interface DatabaseConnectionTemplate
Returns:
template's detailed description