|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.jdbc.entity.BasicProperty<D>
public class BasicProperty<D extends Domain<?,?>>
基本のプロパティです。
フィールドの概要 | |
---|---|
protected String |
columnName
カラム名 |
protected D |
domain
ドメイン |
protected boolean |
insertable
INSERT文に含める対象かどうか |
protected String |
name
名前 |
protected boolean |
updatable
UPDATE文のSET句に含める対象かどうか |
コンストラクタの概要 | |
---|---|
BasicProperty(String name,
String columnName,
D domain,
boolean insertable,
boolean updatable)
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
String |
getColumnName()
カラム名を返します。 |
D |
getDomain()
ドメインを返します。 |
String |
getName()
名前を返します。 |
boolean |
isId()
識別子かどうかを返します。 |
boolean |
isInsertable()
INSERT文に含める対象かどうかを返します。 |
boolean |
isTransient()
非永続性かどうかを返します。 |
boolean |
isUpdatable()
UPDATE文のSET句に含める対象かどうかを返します。 |
boolean |
isVersion()
バージョンかどうかを返します。 |
String |
toString()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected final String name
protected final String columnName
protected final D extends Domain<?,?> domain
protected final boolean insertable
protected final boolean updatable
コンストラクタの詳細 |
---|
public BasicProperty(String name, String columnName, D domain, boolean insertable, boolean updatable)
name
- 名前columnName
- カラム名domain
- ドメインinsertable
- INSERT文に含める対象かどうかupdatable
- UPDATE文のSET句に含める対象かどうか
DomaNullPointerException
- name
もしくは domain
が null
の場合メソッドの詳細 |
---|
public String getName()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の getName
public String getColumnName()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の getColumnName
null
public D getDomain()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の getDomain
public boolean isId()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の isId
true
public boolean isVersion()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の isVersion
true
public boolean isInsertable()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の isInsertable
true
public boolean isUpdatable()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の isUpdatable
true
public boolean isTransient()
EntityProperty
の記述:
EntityProperty<D extends Domain<?,?>>
内の isTransient
true
public String toString()
Object
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |