org.salespointframework.core.data.database
Class JavaDBEmbeddedTemplate

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

public class JavaDBEmbeddedTemplate
extends java.lang.Object
implements DatabaseConnectionTemplate

DatabaseConnectionTemplate implementation for embedded javadb connections

Since:
4.0
Author:
Thomas Kissinger

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

Constructor Detail

JavaDBEmbeddedTemplate

public JavaDBEmbeddedTemplate()
Method Detail

getDeatiledDescription

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

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

getDescription

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

Specified by:
getDescription in interface DatabaseConnectionTemplate
Returns:
template description

getImage

public java.awt.image.BufferedImage getImage()
returns the image

Specified by:
getImage in interface DatabaseConnectionTemplate
Returns:
template image

getName

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

Specified by:
getName in interface DatabaseConnectionTemplate
Returns:
template name

newInstance

public DatabaseConnection newInstance()
returns a new JavaDBEmbeddedConnection instance

Specified by:
newInstance in interface DatabaseConnectionTemplate
Returns:
new DatabaseConnection