org.seasar.cubby.spi.beans
インタフェース BeanDesc

既知の実装クラスの一覧:
DefaultBeanDescProvider.BeanDescImpl

public interface BeanDesc

Java Beans を扱うためのインターフェースです。

作成者:
baba

メソッドの概要
 Set<Attribute> findAllAttributes()
          すべてのプロパティとフィールドへアクセスする属性を返します。
 Set<Attribute> findAttributesAnnotatedWith(Class<? extends Annotation> annotationClass)
          指定されたアノテーションで修飾された、プロパティまたはフィールドへアクセスする属性を返します。
 Set<Attribute> findFieldAttributes()
          すべてのフィールドへアクセスする属性を検索します。
 Set<Attribute> findtPropertyAttributes()
          すべてのプロパティへアクセスする検索します。
 Attribute getFieldAttribute(String name)
          指定された名前のフィールドへアクセスする属性を返します。
 Attribute getPropertyAttribute(String name)
          指定された名前のプロパティへアクセスする属性を返します。
 boolean hasFieldAttribute(String name)
          指定された名前のフィールドへアクセスする属性があるかどうかを示します。
 boolean hasPropertyAttribute(String name)
          指定された名前のプロパティへアクセスする属性があるかどうかを示します。
 

メソッドの詳細

hasPropertyAttribute

boolean hasPropertyAttribute(String name)
指定された名前のプロパティへアクセスする属性があるかどうかを示します。

パラメータ:
name - 属性名
戻り値:
指定された名前のプロパティへアクセスする属性がある場合は true、そうでない場合は false

getPropertyAttribute

Attribute getPropertyAttribute(String name)
                               throws AttributeNotFoundException
指定された名前のプロパティへアクセスする属性を返します。

パラメータ:
name - 属性名
戻り値:
Attribute
例外:
AttributeNotFoundException - Attribute が見つからない場合

hasFieldAttribute

boolean hasFieldAttribute(String name)
指定された名前のフィールドへアクセスする属性があるかどうかを示します。

パラメータ:
name - 属性名
戻り値:
指定された名前のフィールドへアクセスする属性がある場合は true、そうでない場合は false

getFieldAttribute

Attribute getFieldAttribute(String name)
指定された名前のフィールドへアクセスする属性を返します。

パラメータ:
name - 属性名
戻り値:
Attribute のコレクション
例外:
AttributeNotFoundException - Attribute が見つからない場合

findtPropertyAttributes

Set<Attribute> findtPropertyAttributes()
すべてのプロパティへアクセスする検索します。

戻り値:
Attribute のコレクション

findFieldAttributes

Set<Attribute> findFieldAttributes()
すべてのフィールドへアクセスする属性を検索します。

戻り値:
Attribute のコレクション

findAllAttributes

Set<Attribute> findAllAttributes()
すべてのプロパティとフィールドへアクセスする属性を返します。

戻り値:
Attribute のコレクション

findAttributesAnnotatedWith

Set<Attribute> findAttributesAnnotatedWith(Class<? extends Annotation> annotationClass)
指定されたアノテーションで修飾された、プロパティまたはフィールドへアクセスする属性を返します。

パラメータ:
annotationClass - アノテーションの型
戻り値:
Attribute のコレクション


Copyright © 2006-2010 The Seasar Foundation. All Rights Reserved.