@Published(tag="architect") public class ColumnMeta extends Object
| Constructor and Description |
|---|
ColumnMeta(EntityMeta entityMeta,
nablarch.common.dao.JpaAnnotationParam jpaAnnotationParam)
コンストラクタ。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object another) |
javax.persistence.GenerationType |
getGenerationType()
IDジェネレータのタイプを取得する。
|
String |
getGeneratorName()
IDジェネレータの名前を取得する。
|
Class<?> |
getJdbcType()
JDBCでSQLにバインドするときの型を取得する。
|
String |
getName()
データベースのカラム名を取得する。
|
String |
getPropertyName()
Entityクラスのプロパティ名を取得する。
|
Class<?> |
getPropertyType()
Entityクラスのプロパティ型を取得する。
|
int |
hashCode() |
boolean |
isGeneratedValue()
自動生成カラムか否か。
|
boolean |
isIdColumn()
カラムがプライマリーキーを構成するかどうかを取得する。
|
protected boolean |
isTransient()
プロパティが揮発性なものかどうかを取得する。
|
boolean |
isVersion()
カラムが楽観排他用のバージョンを表すかどうかを取得する。
|
public ColumnMeta(EntityMeta entityMeta, nablarch.common.dao.JpaAnnotationParam jpaAnnotationParam)
entityMeta - エンティティ定義のメタデータjpaAnnotationParam - プロパティ情報public String getName()
public String getPropertyName()
public Class<?> getJdbcType()
public Class<?> getPropertyType()
protected boolean isTransient()
public boolean isIdColumn()
public boolean isVersion()
public boolean isGeneratedValue()
public javax.persistence.GenerationType getGenerationType()
public String getGeneratorName()
Copyright © 2022. All rights reserved.