com.googlecode.jinahya.sql
Class DbAccessibleWithLong

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

public abstract class DbAccessibleWithLong
extends AbstractDbAccessible<java.lang.Long>

Abstract implementation of DatabaseAccessible with idType of Long.

Author:
Jin Kwon

Field Summary
 
Fields inherited from class com.googlecode.jinahya.sql.AbstractDbAccessible
idColumnName, tableName
 
Constructor Summary
  DbAccessibleWithLong(java.lang.String tableName, java.lang.String idColumnName)
          Creates a new instance.
protected DbAccessibleWithLong(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

DbAccessibleWithLong

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

Parameters:
tableName - table name
idColumnName - id column name

DbAccessibleWithLong

protected DbAccessibleWithLong(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.