org.seasar.doma.extension.gen
クラス EntityPropertyDesc

java.lang.Object
  上位を拡張 org.seasar.doma.extension.gen.EntityPropertyDesc

public class EntityPropertyDesc
extends Object

エンティティプロパティ記述です。

作成者:
taedium

フィールドの概要
protected  Long allocationSize
          識別子の割り当てサイズ
protected  String columnName
          カラム名
protected  String comment
          コメント
protected  boolean date
          日付を表す場合 true
protected  String entityClassName
          エンティティのクラス名
protected  GenerationType generationType
          識別子の生成方法を示す方法、生成しない場合null
protected  boolean id
          識別子の場合true
protected  Long initialValue
          識別子の初期値
protected  String name
          名前
protected  boolean number
          数値を表す場合 true
protected  String propertyClassName
          プロパティクラス名
protected  boolean showColumnName
          カラム名を表示する場合 true
protected  boolean time
          時刻を表す場合 true
protected  boolean timestamp
          タイムスタンプを表す場合 true
protected  boolean version
          バージョンの場合true
 
コンストラクタの概要
EntityPropertyDesc()
           
 
メソッドの概要
 Long getAllocationSize()
          識別子の割り当てサイズを返します。
 String getColumnName()
          カラム名を返します。
 String getComment()
          コメントを返します。
 String getEntityClassName()
          エンティティのクラス名を返します。
 GenerationType getGenerationType()
          識別子の生成方法を示す方法を返します。
 Long getInitialValue()
          識別子の初期値を返します。
 String getName()
          名前を返します。
 String getPropertyClassName()
          プロパティクラス名を返します。
 String getPropertyClassSimpleName()
          プロパティクラスの単純名を返します。
 boolean isDate()
          日付を表す場合 trueを返します。
 boolean isId()
          識別子の場合 true を返します。
 boolean isNumber()
          数値を表す場合 trueを返します。
 boolean isShowColumnName()
          カラム名を表示する場合 true を返します。
 boolean isTime()
          時刻を表す場合 trueを返します。
 boolean isTimestamp()
          タイムスタンプを表す場合 trueを返します。
 boolean isVersion()
          バージョンの場合 true を返します。
 void setAllocationSize(Long allocationSize)
          識別子の割り当てサイズを設定します。
 void setColumnName(String columnName)
          カラム名を設定します。
 void setComment(String comment)
          コメントを設定します。
 void setDate(boolean date)
          日付を表す場合 trueを設定します。
 void setEntityClassName(String entityClassName)
          エンティティのクラス名を設定します。
 void setGenerationType(GenerationType generationType)
          識別子の生成方法を示す方法を設定します。
 void setId(boolean id)
          識別子の場合 true を設定します。
 void setInitialValue(Long initialValue)
          識別子の初期値を設定します。
 void setName(String name)
          名前を設定します。
 void setNumber(boolean number)
          数値を表す場合 trueを設定します。
 void setPropertyClassName(String propertyClassName)
          プロパティクラス名を設定します。
 void setShowColumnName(boolean showColumnName)
          カラム名を表示する場合 true を設定します。
 void setTime(boolean time)
          時刻を表す場合 trueを設定します。
 void setTimestamp(boolean timestamp)
          タイムスタンプを表す場合 trueを設定します。
 void setVersion(boolean version)
          バージョンの場合 true を設定します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

name

protected String name
名前


propertyClassName

protected String propertyClassName
プロパティクラス名


id

protected boolean id
識別子の場合true


generationType

protected GenerationType generationType
識別子の生成方法を示す方法、生成しない場合null


initialValue

protected Long initialValue
識別子の初期値


allocationSize

protected Long allocationSize
識別子の割り当てサイズ


version

protected boolean version
バージョンの場合true


columnName

protected String columnName
カラム名


comment

protected String comment
コメント


showColumnName

protected boolean showColumnName
カラム名を表示する場合 true


number

protected boolean number
数値を表す場合 true


time

protected boolean time
時刻を表す場合 true

導入されたバージョン:
1.11.0

date

protected boolean date
日付を表す場合 true

導入されたバージョン:
1.11.0

timestamp

protected boolean timestamp
タイムスタンプを表す場合 true

導入されたバージョン:
1.11.0

entityClassName

protected String entityClassName
エンティティのクラス名

コンストラクタの詳細

EntityPropertyDesc

public EntityPropertyDesc()
メソッドの詳細

setName

public void setName(String name)
名前を設定します。

パラメータ:
name - 名前

getName

public String getName()
名前を返します。

戻り値:
名前

getPropertyClassName

public String getPropertyClassName()
プロパティクラス名を返します。

戻り値:
プロパティクラス名

setPropertyClassName

public void setPropertyClassName(String propertyClassName)
プロパティクラス名を設定します。

パラメータ:
propertyClassName - プロパティクラス名

getPropertyClassSimpleName

public String getPropertyClassSimpleName()
プロパティクラスの単純名を返します。

戻り値:
プロパティクラスの単純名

setId

public void setId(boolean id)
識別子の場合 true を設定します。

パラメータ:
id - 識別子の場合 true

isId

public boolean isId()
識別子の場合 true を返します。

戻り値:
識別子の場合 true

setGenerationType

public void setGenerationType(GenerationType generationType)
識別子の生成方法を示す方法を設定します。

パラメータ:
generationType - 識別子の生成方法を示す方法、生成しない場合 null

getGenerationType

public GenerationType getGenerationType()
識別子の生成方法を示す方法を返します。

戻り値:
識別子の生成方法を示す方法、生成しない場合 null

setInitialValue

public void setInitialValue(Long initialValue)
識別子の初期値を設定します。

パラメータ:
initialValue - 識別子の初期値

getInitialValue

public Long getInitialValue()
識別子の初期値を返します。

戻り値:
識別子の初期値

setAllocationSize

public void setAllocationSize(Long allocationSize)
識別子の割り当てサイズを設定します。

パラメータ:
allocationSize - 識別子の割り当てサイズ

getAllocationSize

public Long getAllocationSize()
識別子の割り当てサイズを返します。

戻り値:
識別子の割り当てサイズ

setVersion

public void setVersion(boolean version)
バージョンの場合 true を設定します。

パラメータ:
version - バージョンの場合 true

isVersion

public boolean isVersion()
バージョンの場合 true を返します。

戻り値:
バージョンの場合 true

setColumnName

public void setColumnName(String columnName)
カラム名を設定します。

パラメータ:
columnName - カラム名

getColumnName

public String getColumnName()
カラム名を返します。

戻り値:
カラム名

setComment

public void setComment(String comment)
コメントを設定します。

パラメータ:
comment - コメント

getComment

public String getComment()
コメントを返します。

戻り値:
コメント

isShowColumnName

public boolean isShowColumnName()
カラム名を表示する場合 true を返します。

戻り値:
カラム名を表示する場合 true

setShowColumnName

public void setShowColumnName(boolean showColumnName)
カラム名を表示する場合 true を設定します。

パラメータ:
showColumnName - カラム名を表示する場合 true

isNumber

public boolean isNumber()
数値を表す場合 trueを返します。

戻り値:
the number

setNumber

public void setNumber(boolean number)
数値を表す場合 trueを設定します。

パラメータ:
number - 数値を表す場合 true

isTime

public boolean isTime()
時刻を表す場合 trueを返します。

戻り値:
時刻を表す場合 true
導入されたバージョン:
1.11.0

setTime

public void setTime(boolean time)
時刻を表す場合 trueを設定します。

パラメータ:
time - 時刻を表す場合 true
導入されたバージョン:
1.11.0

isDate

public boolean isDate()
日付を表す場合 trueを返します。

戻り値:
日付を表す場合 true
導入されたバージョン:
1.11.0

setDate

public void setDate(boolean date)
日付を表す場合 trueを設定します。

パラメータ:
date - 日付を表す場合 true
導入されたバージョン:
1.11.0

isTimestamp

public boolean isTimestamp()
タイムスタンプを表す場合 trueを返します。

戻り値:
タイムスタンプを表す場合 true
導入されたバージョン:
1.11.0

setTimestamp

public void setTimestamp(boolean timestamp)
タイムスタンプを表す場合 trueを設定します。

パラメータ:
timestamp - タイムスタンプを表す場合 true
導入されたバージョン:
1.11.0

getEntityClassName

public String getEntityClassName()
エンティティのクラス名を返します。

戻り値:
エンティティのクラス名

setEntityClassName

public void setEntityClassName(String entityClassName)
エンティティのクラス名を設定します。

パラメータ:
entityClassName - エンティティのクラス名


Copyright © 2009-2013 The Seasar Foundation. All Rights Reserved.