public class ColumnImpl extends java.lang.Object implements Column
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Key |
columnNameKey |
protected java.lang.Integer |
columnSize |
protected boolean |
functionFlag |
protected boolean |
nullable |
protected java.lang.Integer |
position |
protected Key |
queryStringKey |
protected java.lang.Integer |
scale |
protected int |
sqlType |
protected Table |
table |
| コンストラクタと説明 |
|---|
ColumnImpl(Column info)
コピーコンストラクタ。
|
ColumnImpl(Table table,
Key columnName,
int sqlType,
boolean nullable,
java.lang.Integer scale,
java.lang.Integer columnSize)
コンストラクタ。
|
ColumnImpl(Table table,
Key columnNameKey,
int sqlType,
boolean nullable,
java.lang.Integer scale,
java.lang.Integer columnSize,
java.lang.Integer position)
コンストラクタ。
|
ColumnImpl(Table table,
java.lang.String columnName,
int sqlType,
boolean nullable,
java.lang.Integer scale,
java.lang.Integer columnSize)
コンストラクタ。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected Key |
createQueryKey(java.lang.String columnName,
Table table) |
protected java.lang.String |
createQueryString(java.lang.String columnName,
Table table) |
protected java.lang.String |
createUpdateQueryString(java.lang.String columnName,
Table table) |
boolean |
equals(java.lang.Object o) |
ColumnLoadable |
getColumnLoadable(java.lang.Class loadClass)
ColumnLoaderを取得する。
|
java.lang.String |
getColumnName()
カラム名を返す。
|
Key |
getColumnNameKey()
Key(カラム名)を返す。
|
ColumnStorable |
getColumnStorable(java.lang.Class storeClass)
ColumnStorableを取得する。
|
java.lang.String |
getFullColumnName()
カラム名(含むテーブル名または、エイリアス名)を返す。
|
Key |
getFullColumnNameKey()
Key(カラム名:含むテーブル名または、エイリアス名)を返す。
|
java.lang.Integer |
getPosition()
Position値を返す。
|
java.lang.String |
getQuery()
Query文を返す。
|
java.lang.Integer |
getScale()
Scale値を返す。
|
java.lang.Integer |
getSize() |
int |
getSqlType()
java.sql.Typesを返す。
|
Table |
getTable()
テーブル情報を返す。
|
java.lang.String |
getUpdateQuery()
更新用のQuery文を返す。
|
java.lang.Object |
getValue(ColumnResultSet rs)
SelectResultSetから観測値を生成する。
|
java.lang.Object |
getValue(java.sql.ResultSet rs,
int index)
ResultSetから観測値を生成する。
|
int |
hashCode() |
boolean |
isNullable()
null値が設定可能か否かの真偽値を返す。
|
void |
setValue(java.sql.PreparedStatement ps,
int index,
java.lang.Object value)
PreparedStatementに観測値を設定する。
|
java.lang.String |
toString() |
protected Key columnNameKey
protected Table table
protected int sqlType
protected boolean nullable
protected java.lang.Integer scale
protected java.lang.Integer position
protected Key queryStringKey
protected java.lang.Integer columnSize
protected boolean functionFlag
public ColumnImpl(Column info)
public ColumnImpl(Table table, java.lang.String columnName, int sqlType, boolean nullable, java.lang.Integer scale, java.lang.Integer columnSize)
public ColumnImpl(Table table, Key columnName, int sqlType, boolean nullable, java.lang.Integer scale, java.lang.Integer columnSize)
public java.lang.String getColumnName()
getColumnName インタフェース内 Columnpublic Key getColumnNameKey()
getColumnNameKey インタフェース内 Columnpublic java.lang.String getFullColumnName()
getFullColumnName インタフェース内 Columnpublic Key getFullColumnNameKey()
getFullColumnNameKey インタフェース内 Columnpublic int getSqlType()
getSqlType インタフェース内 Columnpublic boolean isNullable()
isNullable インタフェース内 Columnpublic java.lang.Integer getScale()
public java.lang.Integer getPosition()
getPosition インタフェース内 Columnpublic ColumnLoadable getColumnLoadable(java.lang.Class loadClass) throws DBException, FatalException
getColumnLoadable インタフェース内 ColumnDBExceptionFatalExceptionpublic ColumnStorable getColumnStorable(java.lang.Class storeClass) throws DBException, FatalException
getColumnStorable インタフェース内 ColumnDBExceptionFatalExceptionpublic int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object o)
equals クラス内 java.lang.Objectpublic java.lang.Object getValue(ColumnResultSet rs) throws DBException, FatalException
getValue インタフェース内 Columnrs - DBException - 回復可能な実行例外FatalException - 回復不能な実行例外public java.lang.Object getValue(java.sql.ResultSet rs, int index) throws DBException, FatalException
getValue インタフェース内 Columnrs - index - カラム位置DBException - 回復可能な実行例外FatalException - 回復不能な実行例外public void setValue(java.sql.PreparedStatement ps, int index, java.lang.Object value) throws DBException, FatalException
setValue インタフェース内 ColumnDBExceptionFatalExceptionpublic java.lang.String getUpdateQuery()
ColumngetUpdateQuery インタフェース内 Columnpublic java.lang.String toString()
toString クラス内 java.lang.Objectprotected java.lang.String createQueryString(java.lang.String columnName, Table table)
protected java.lang.String createUpdateQueryString(java.lang.String columnName, Table table)