|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.cubby.spi.beans.impl.DefaultBeanDescProvider.BeanDescImpl
protected static class DefaultBeanDescProvider.BeanDescImpl
BeanDesc の実装です。
| コンストラクタの概要 | |
|---|---|
DefaultBeanDescProvider.BeanDescImpl(Class<?> clazz)
インスタンス化します。 |
|
| メソッドの概要 | |
|---|---|
protected Map<String,List<Attribute>> |
collectFieldAttributesMap(Class<?> clazz)
指定されたクラスからフィールドの Attribute を生成します。 |
protected Map<String,Attribute> |
collectPropertyAttributeMap(Class<?> clazz)
指定されたクラスからプロパティの Attribute を生成します。 |
Set<Attribute> |
findAllAttributes()
すべてのプロパティとフィールドへアクセスする属性を返します。 |
Set<Attribute> |
findAttributesAnnotatedWith(Class<? extends Annotation> annotationClass)
指定されたアノテーションで修飾された、プロパティまたはフィールドへアクセスする属性を返します。 |
Set<Attribute> |
findFieldAttributes()
すべてのフィールドへアクセスする属性を検索します。 |
Set<Attribute> |
findtPropertyAttributes()
すべてのプロパティへアクセスする検索します。 |
Attribute |
getFieldAttribute(String fieldName)
指定された名前のフィールドへアクセスする属性を返します。 |
Attribute |
getPropertyAttribute(String name)
指定された名前のプロパティへアクセスする属性を返します。 |
boolean |
hasFieldAttribute(String fieldName)
指定された名前のフィールドへアクセスする属性があるかどうかを示します。 |
boolean |
hasPropertyAttribute(String name)
指定された名前のプロパティへアクセスする属性があるかどうかを示します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public DefaultBeanDescProvider.BeanDescImpl(Class<?> clazz)
clazz - 操作対象のクラス| メソッドの詳細 |
|---|
protected Map<String,Attribute> collectPropertyAttributeMap(Class<?> clazz)
Attribute を生成します。
clazz - 対象のクラス
Attribute の Mapprotected Map<String,List<Attribute>> collectFieldAttributesMap(Class<?> clazz)
Attribute を生成します。
clazz - 対象のクラス
Attribute の Mappublic boolean hasPropertyAttribute(String name)
BeanDesc 内の hasPropertyAttributename - 属性名
true、そうでない場合は
false
public Attribute getPropertyAttribute(String name)
throws AttributeNotFoundException
BeanDesc 内の getPropertyAttributename - 属性名
Attribute
AttributeNotFoundException - Attribute が見つからない場合public Set<Attribute> findtPropertyAttributes()
BeanDesc 内の findtPropertyAttributesAttribute のコレクションpublic Attribute getFieldAttribute(String fieldName)
BeanDesc 内の getFieldAttributefieldName - 属性名
Attribute のコレクションpublic boolean hasFieldAttribute(String fieldName)
BeanDesc 内の hasFieldAttributefieldName - 属性名
true、そうでない場合は
falsepublic Set<Attribute> findFieldAttributes()
BeanDesc 内の findFieldAttributesAttribute のコレクションpublic Set<Attribute> findAllAttributes()
BeanDesc 内の findAllAttributesAttribute のコレクションpublic Set<Attribute> findAttributesAnnotatedWith(Class<? extends Annotation> annotationClass)
BeanDesc 内の findAttributesAnnotatedWithannotationClass - アノテーションの型
Attribute のコレクション
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||