|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.util.beans.impl.ConstructorDescImpl
public class ConstructorDescImpl
ConstructorDescの実装クラスです。
| フィールドの概要 | |
|---|---|
protected BeanDesc |
beanDesc
このメソッドを所有するクラスの BeanDesc |
protected Constructor<?> |
constructor
コンストラクタ |
protected ParameterizedClassDesc[] |
parameterizedClassDescs
パラメータ化された引数型の情報 |
protected Class<?>[] |
parameterTypes
コンストラクタの引数型の配列 |
| コンストラクタの概要 | |
|---|---|
ConstructorDescImpl(BeanDesc beanDesc,
Constructor<?> constructor)
インスタンスを構築します。 |
|
| メソッドの概要 | ||
|---|---|---|
BeanDesc |
getBeanDesc()
このコンストラクタを所有するクラスの BeanDescを返します。 |
|
|
getConstructor()
コンストラクタを返します。 |
|
Class<?> |
getElementClassOfCollection(int index)
メソッドの引数型がパラメタ化された Collectionの場合、その要素型を返します。 |
|
Class<?> |
getKeyClassOfMap(int index)
メソッドの引数型がパラメタ化された Mapの場合、そのキー型を返します。 |
|
ParameterizedClassDesc[] |
getParameterizedClassDescs()
メソッドの引数型を表現する ParameterizedClassDescの配列を返します。 |
|
Class<?>[] |
getParameterTypes()
コンストラクタの引数型の配列を返します。 |
|
Class<?> |
getValueClassOfMap(int index)
メソッドの引数型がパラメタ化された Mapの場合、その値型を返します。 |
|
boolean |
isParameterized(int index)
コンストラクタの引数型がパラメタ化された型の場合はtrueを返します。 |
|
boolean |
isPublic()
publicコンストラクタの場合はtrueを返します。 |
|
|
newInstance(Object... args)
コンストラクタを呼び出して生成したインスタンスを返します。 |
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final BeanDesc beanDesc
BeanDesc
protected final Constructor<?> constructor
protected final Class<?>[] parameterTypes
protected final ParameterizedClassDesc[] parameterizedClassDescs
| コンストラクタの詳細 |
|---|
public ConstructorDescImpl(BeanDesc beanDesc,
Constructor<?> constructor)
beanDesc - このメソッドを所有するクラスのBeanDesc。nullであってはいけませんconstructor - コンストラクタ。nullであってはいけません| メソッドの詳細 |
|---|
public BeanDesc getBeanDesc()
ConstructorDesc の記述:BeanDescを返します。
ConstructorDesc 内の getBeanDescBeanDescpublic <T> Constructor<T> getConstructor()
ConstructorDesc の記述:
ConstructorDesc 内の getConstructorT - Beanの型
public Class<?>[] getParameterTypes()
ConstructorDesc の記述:
ConstructorDesc 内の getParameterTypespublic boolean isPublic()
ConstructorDesc の記述:
ConstructorDesc 内の isPublicpublic boolean isParameterized(int index)
ConstructorDesc の記述:
ConstructorDesc 内の isParameterizedindex - 引数のインデックス
public ParameterizedClassDesc[] getParameterizedClassDescs()
ConstructorDesc の記述:ParameterizedClassDescの配列を返します。
ConstructorDesc 内の getParameterizedClassDescsParameterizedClassDescの配列public Class<?> getElementClassOfCollection(int index)
ConstructorDesc の記述:Collectionの場合、その要素型を返します。
ConstructorDesc 内の getElementClassOfCollectionindex - 引数のインデックス
Collectionの場合はその要素型、そうでない場合は
nullpublic Class<?> getKeyClassOfMap(int index)
ConstructorDesc の記述:Mapの場合、そのキー型を返します。
ConstructorDesc 内の getKeyClassOfMapindex - 引数のインデックス
Mapの場合はそのキー型、そうでない場合はnullpublic Class<?> getValueClassOfMap(int index)
ConstructorDesc の記述:Mapの場合、その値型を返します。
ConstructorDesc 内の getValueClassOfMapindex - 引数のインデックス
Mapの場合はその値型、そうでない場合はnullpublic <T> T newInstance(Object... args)
ConstructorDesc の記述:
ConstructorDesc 内の newInstanceT - 生成するBeanの型args - メソッドの引数
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||