|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.bl.KKRecord
public class KKRecord
A utility class used to enable KonaKart to work with different databases
| Field Summary | |
|---|---|
static java.lang.String |
DB2
Torque adapter for DB2 |
static java.lang.String |
MSSQL
Torque adapter for MSSQL |
static java.lang.String |
MYSQL
Torque adapter for MySQL |
static java.lang.String |
ORACLE
Torque adapter for Oracle |
static java.lang.String |
POSTGRESQL
Torque adapter for PostgreSQL |
| Constructor Summary | |
|---|---|
KKRecord(com.workingdogs.village.Record villageRecord)
Constructor |
|
| Method Summary | |
|---|---|
static java.lang.String |
getDbType()
|
static java.lang.String |
getTimeNowString()
Get the String that's used to set the current dateTime in the current database |
com.workingdogs.village.Value |
getValue(int columnIdx)
Pick out the value by column Index |
com.workingdogs.village.Record |
getVillageRecord()
|
static boolean |
isDB2()
|
static boolean |
isMSSqlServer()
|
static boolean |
isMySQL()
|
static boolean |
isOracle()
|
static boolean |
isPostgreSQL()
|
static void |
setDbType(java.lang.String dbType)
Set the type of DB being used (i.e. |
void |
setVillageRecord(com.workingdogs.village.Record villageRecord)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String POSTGRESQL
public static final java.lang.String ORACLE
public static final java.lang.String DB2
public static final java.lang.String MSSQL
public static final java.lang.String MYSQL
| Constructor Detail |
|---|
public KKRecord(com.workingdogs.village.Record villageRecord)
villageRecord - | Method Detail |
|---|
public com.workingdogs.village.Value getValue(int columnIdx)
throws com.workingdogs.village.DataSetException
columnIdx -
com.workingdogs.village.DataSetExceptionpublic com.workingdogs.village.Record getVillageRecord()
public void setVillageRecord(com.workingdogs.village.Record villageRecord)
villageRecord - public static java.lang.String getTimeNowString()
public static void setDbType(java.lang.String dbType)
dbType - public static java.lang.String getDbType()
public static boolean isMSSqlServer()
public static boolean isMySQL()
public static boolean isDB2()
public static boolean isPostgreSQL()
public static boolean isOracle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||