com.googlecode.jinahya.sql
Class DbAccessibleWithString

java.lang.Object
  extended by com.googlecode.jinahya.sql.AbstractDbAccessible<java.lang.String>
      extended by com.googlecode.jinahya.sql.DbAccessibleWithString
All Implemented Interfaces:
DbAccessible<java.lang.String>, com.googlecode.jinahya.util.Accessible

public abstract class DbAccessibleWithString
extends AbstractDbAccessible<java.lang.String>

Abstract implementation of DatabaseAccessible with idType of String.

Author:
Jin Kwon

Field Summary
 
Fields inherited from class com.googlecode.jinahya.sql.AbstractDbAccessible
idColumnName, tableName
 
Constructor Summary
  DbAccessibleWithString(java.lang.String tableName, java.lang.String idColumnName)
          Creates a new instance.
protected DbAccessibleWithString(java.lang.String tableName, java.lang.String idColumnName, int idType)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class com.googlecode.jinahya.sql.AbstractDbAccessible
delete, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getId, getIdColumnName, getIdType, getInt, getInt, getLong, getLong, getShort, getShort, getTableName, getTimestamp, getTimestamp, read, select, setId, setTimestamp, setTimestamp, setTimestamp, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.googlecode.jinahya.sql.DbAccessible
insert, read, update
 

Constructor Detail

DbAccessibleWithString

public DbAccessibleWithString(java.lang.String tableName,
                              java.lang.String idColumnName)
Creates a new instance.

Parameters:
tableName - table name
idColumnName - id column name

DbAccessibleWithString

protected DbAccessibleWithString(java.lang.String tableName,
                                 java.lang.String idColumnName,
                                 int idType)
Creates a new instance.

Parameters:
tableName - table name
idColumnName - id column name
idType - id type


Copyright © 2011. All Rights Reserved.