public abstract class TypeDB extends Object implements TypeDBIntf
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnName |
protected int |
columnPosition |
protected int |
dbType |
protected boolean |
duplicate |
protected Format |
fieldFormat |
protected int |
inOut |
protected boolean |
nullAllowed |
protected int |
precision |
protected int |
scale |
protected int |
size_percision |
protected String |
tableName |
protected TypeIntf |
type |
NEW_LINE| Modifier | Constructor and Description |
|---|---|
protected |
TypeDB() |
|
TypeDB(String aTableName,
String aColumnName) |
|
TypeDB(TypeDB aType) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
DataStoreParamIntf |
createDBParam() |
void |
displaySQLEx(SQLException ex) |
String |
getColumnName() |
int |
getColumnPosition() |
int |
getDefError() |
abstract Object |
getFieldData(ResultSet rs,
int aRow) |
String |
getFieldName() |
int |
getFieldNumber() |
Format |
getFormat() |
int |
getInOutParam() |
int |
getLength() |
int |
getPrecision() |
int |
getScale() |
abstract Object |
getSqlOutParam(CallableStatement aCall) |
String |
getTableName() |
int |
getType() |
TypeIntf |
getTypeIntf() |
abstract TypeIntf |
initTypeIntf() |
boolean |
isDuplicate() |
boolean |
isIdentity() |
boolean |
isNullAllowed() |
boolean |
isPrimaryKey() |
void |
output(String msg) |
void |
setColumnName(String aColumnName) |
void |
setColumnPosition(int aColumnPosition) |
abstract void |
setDataIntf(DataIntf aData) |
void |
setDuplicate(boolean aFlag) |
abstract int |
setFieldData(ResultSet rs,
int aRow) |
void |
setFieldName(String aFieldName) |
void |
setFieldNumber(int aFieldNumber) |
void |
setFormat(Format aFormat) |
void |
setIdentity(boolean aFlag) |
void |
setInOutParam(int aInOut)
Sets the in out Paramater for a Stored procedure
0 = undefined, 1 = in, 2 = out, 3 = both
|
void |
setNullFlag(boolean aFlag) |
void |
setPrecision(int aPrecision) |
void |
setPrimaryKey(boolean aFlag) |
void |
setScale(int aScale) |
void |
setSize(int aSize) |
abstract int |
setSQLField(PreparedStatement stmt,
int aRow,
int aColPos) |
void |
setTableName(String aTableName) |
void |
setType(int aDBType) |
void |
setTypeIntf(TypeIntf aType) |
protected Format fieldFormat
protected String tableName
protected String columnName
protected int size_percision
protected boolean nullAllowed
protected int columnPosition
protected boolean duplicate
protected int inOut
protected int dbType
protected int scale
protected int precision
protected TypeIntf type
protected TypeDB()
public TypeDB(TypeDB aType)
public boolean isPrimaryKey()
isPrimaryKey in interface TypeDBIntfpublic void setPrimaryKey(boolean aFlag)
setPrimaryKey in interface TypeDBIntfpublic boolean isIdentity()
isIdentity in interface TypeDBIntfpublic void setIdentity(boolean aFlag)
setIdentity in interface TypeDBIntfpublic abstract Object clone()
clone in interface TypeDBIntfclone in class Objectpublic abstract void setDataIntf(DataIntf aData)
setDataIntf in interface TypeBaseIntfpublic abstract TypeIntf initTypeIntf()
initTypeIntf in interface TypeDBIntfpublic String getFieldName()
getFieldName in interface TypeBaseIntfpublic void setFieldName(String aFieldName)
setFieldName in interface TypeBaseIntfpublic int getFieldNumber()
getFieldNumber in interface TypeBaseIntfpublic void setFieldNumber(int aFieldNumber)
setFieldNumber in interface TypeBaseIntfpublic void setTypeIntf(TypeIntf aType)
setTypeIntf in interface TypeBaseIntfpublic TypeIntf getTypeIntf()
getTypeIntf in interface TypeBaseIntfpublic void setType(int aDBType)
setType in interface TypeDBIntfpublic int getType()
getType in interface TypeDBIntfpublic int getInOutParam()
getInOutParam in interface TypeDBIntfpublic void setInOutParam(int aInOut)
setInOutParam in interface TypeDBIntfpublic String getTableName()
getTableName in interface TypeDBIntfpublic void setTableName(String aTableName)
setTableName in interface TypeDBIntfpublic String getColumnName()
getColumnName in interface TypeBaseIntfpublic void setColumnName(String aColumnName)
setColumnName in interface TypeBaseIntfpublic void setNullFlag(boolean aFlag)
setNullFlag in interface TypeDBIntfpublic boolean isNullAllowed()
isNullAllowed in interface TypeDBIntfpublic void setDuplicate(boolean aFlag)
setDuplicate in interface TypeDBIntfpublic boolean isDuplicate()
isDuplicate in interface TypeDBIntfpublic void setSize(int aSize)
setSize in interface TypeDBIntfpublic int getLength()
getLength in interface TypeDBIntfpublic int getScale()
getScale in interface TypeDBIntfpublic void setScale(int aScale)
setScale in interface TypeDBIntfpublic int getPrecision()
getPrecision in interface TypeDBIntfpublic void setPrecision(int aPrecision)
setPrecision in interface TypeDBIntfpublic void setColumnPosition(int aColumnPosition)
setColumnPosition in interface TypeBaseIntfpublic int getColumnPosition()
getColumnPosition in interface TypeBaseIntfpublic void displaySQLEx(SQLException ex)
displaySQLEx in interface TypeDBIntfpublic abstract Object getSqlOutParam(CallableStatement aCall)
getSqlOutParam in interface TypeDBIntfpublic abstract int setFieldData(ResultSet rs, int aRow)
setFieldData in interface TypeDBIntfpublic abstract int setSQLField(PreparedStatement stmt, int aRow, int aColPos)
setSQLField in interface TypeDBIntfpublic void output(String msg)
output in interface TypeDBIntfpublic Format getFormat()
getFormat in interface TypeBaseIntfpublic void setFormat(Format aFormat)
setFormat in interface TypeBaseIntfpublic DataStoreParamIntf createDBParam()
createDBParam in interface TypeBaseIntfpublic int getDefError()
Copyright © 2020. All rights reserved.