public class DbColumn extends Object implements Serializable, Cloneable
コンストラクタと説明 |
---|
DbColumn(ResultSetMetaData rsmd,
int nCol)
コンストラクタ
|
DbColumn(String columnName,
String columnLabel,
int columnType,
int columnDisplaySize,
int precision,
int scale,
int nullable)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
Object |
clone()
Cloneable をオーバーライドします。
|
String |
getClassName()
Javaクラス名取得
|
String |
getLabel()
表示名取得
|
String |
getName()
カラム名取得
|
Object |
getObject()
カラムのオブジェクトの取得
|
int |
getPrecision()
精度取得
|
int |
getScale()
小数点以下桁数取得
|
int |
getSize()
列を表示するのに必要な最大文字数を取得する
|
int |
getType()
型取得
|
String |
getTypeName()
カタログ名取得
|
int |
isNullable()
NULL値を許すか否か
|
void |
setObject(Object obj)
カラムのオブジェクトの設定
|
public DbColumn(String columnName, String columnLabel, int columnType, int columnDisplaySize, int precision, int scale, int nullable)
columnName
- カラム名columnLabel
- 表示名columnType
- 型columnDisplaySize
- 列を表示するのに必要な最大文字数precision
- 精度scale
- 小数点以下桁数nullable
- NULL値を許すか否か(0:NULL値を許さない, 1:NULL値を許す, 2:不明)public DbColumn(ResultSetMetaData rsmd, int nCol) throws SQLException
SQLException
public String getName()
public String getLabel()
public String getClassName()
public String getTypeName()
public int getType()
public int getSize()
public int getPrecision()
public int getScale()
public int isNullable()
public void setObject(Object obj)
public Object getObject()
public Object clone() throws CloneNotSupportedException, OutOfMemoryError
clone
クラス内 Object
CloneNotSupportedException
OutOfMemoryError
- 十分なメモリがない場合Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.