org.seasar.aptina.beans.internal
クラス BeanInfo

java.lang.Object
  上位を拡張 org.seasar.aptina.beans.internal.BeanInfo

public class BeanInfo
extends Object

生成する Bean クラスの情報を保持するクラスです.

作成者:
koichik

フィールドの概要
protected  String beanClassName
          Bean クラスの単純名
protected  boolean boundProperties
          bound プロパティをサポートする場合は true
protected  String comment
          Javadoc コメント
protected  boolean constrainedProperties
          constrained プロパティをサポートする場合は true
protected  List<ConstructorInfo> constructors
          コンストラクタ情報の List
protected  String packageName
          パッケージ名
protected  Map<String,PropertyInfo> properties
          プロパティ情報の Map
protected  String stateClassName
          状態クラスの完全限定名
protected  String typeParameter
          型引数
 
コンストラクタの概要
BeanInfo()
          インスタンスを構築します.
 
メソッドの概要
 void addConstructor(ConstructorInfo constructorInfo)
          コンストラクタ情報を追加します.
 void addPropertyInfo(PropertyInfo propertyInfo)
          プロパティ情報を追加します.
 String getBeanClassName()
          Bean クラスの単純名を返します.
 String getComment()
          Javadoc コメントを返します.
 List<ConstructorInfo> getConstructors()
          コンストラクタ情報を返します.
 String getPackageName()
          パッケージ名を返します.
 PropertyInfo getPropertyInfo(String propertyName)
          指定されたプロパティの情報を返します.
 Set<String> getPropertyNames()
          プロパティ名の Set を返します.
 String getStateClassName()
          状態クラスの完全限定名を返します.
 String getTypeParameter()
          型引数を返します.
 boolean isBoundProperties()
          bound プロパティをサポートする場合は true を返します.
 boolean isConstrainedProperties()
          constrained プロパティをサポートする場合は true を返します.
 void setBeanClassName(String beanClassName)
          Bean クラスの単純名を設定します.
 void setBoundProperties(boolean boundProperties)
          bound プロパティをサポートする場合は true を設定します.
 void setComment(String comment)
          Javadoc コメントを設定します.
 void setConstrainedProperties(boolean constrainedProperties)
          constrained プロパティをサポートする場合は true を設定します.
 void setPackageName(String packageName)
          パッケージ名を設定します.
 void setStateClassName(String stateClassName)
          状態クラスの完全限定名を設定します.
 void setTypeParameter(String typeParameter)
          型引数を設定します.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

comment

protected String comment
Javadoc コメント


packageName

protected String packageName
パッケージ名


beanClassName

protected String beanClassName
Bean クラスの単純名


typeParameter

protected String typeParameter
型引数


stateClassName

protected String stateClassName
状態クラスの完全限定名


boundProperties

protected boolean boundProperties
bound プロパティをサポートする場合は true


constrainedProperties

protected boolean constrainedProperties
constrained プロパティをサポートする場合は true


properties

protected final Map<String,PropertyInfo> properties
プロパティ情報の Map


constructors

protected final List<ConstructorInfo> constructors
コンストラクタ情報の List

コンストラクタの詳細

BeanInfo

public BeanInfo()
インスタンスを構築します.

メソッドの詳細

getComment

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

戻り値:
Javadoc コメント

setComment

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

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

getPackageName

public String getPackageName()
パッケージ名を返します.

戻り値:
パッケージ名

setPackageName

public void setPackageName(String packageName)
パッケージ名を設定します.

パラメータ:
packageName - パッケージ名

getBeanClassName

public String getBeanClassName()
Bean クラスの単純名を返します.

戻り値:
Bean クラスの単純名

setBeanClassName

public void setBeanClassName(String beanClassName)
Bean クラスの単純名を設定します.

パラメータ:
beanClassName - Bean クラスの単純名

getTypeParameter

public String getTypeParameter()
型引数を返します.

戻り値:
型引数

setTypeParameter

public void setTypeParameter(String typeParameter)
型引数を設定します.

パラメータ:
typeParameter - 型引数

getStateClassName

public String getStateClassName()
状態クラスの完全限定名を返します.

戻り値:
状態クラスの完全限定名

setStateClassName

public void setStateClassName(String stateClassName)
状態クラスの完全限定名を設定します.

パラメータ:
stateClassName - 状態クラスの完全限定名

isBoundProperties

public boolean isBoundProperties()
bound プロパティをサポートする場合は true を返します.

戻り値:
bound プロパティをサポートする場合は true

setBoundProperties

public void setBoundProperties(boolean boundProperties)
bound プロパティをサポートする場合は true を設定します.

パラメータ:
boundProperties - bound プロパティをサポートする場合は true

isConstrainedProperties

public boolean isConstrainedProperties()
constrained プロパティをサポートする場合は true を返します.

戻り値:
constrained プロパティをサポートする場合は true

setConstrainedProperties

public void setConstrainedProperties(boolean constrainedProperties)
constrained プロパティをサポートする場合は true を設定します.

パラメータ:
constrainedProperties - constrained プロパティをサポートする場合は true

getPropertyNames

public Set<String> getPropertyNames()
プロパティ名の Set を返します.

戻り値:
プロパティ名の Set

getPropertyInfo

public PropertyInfo getPropertyInfo(String propertyName)
指定されたプロパティの情報を返します.

パラメータ:
propertyName - プロパティ名
戻り値:
指定されたプロパティの情報

addPropertyInfo

public void addPropertyInfo(PropertyInfo propertyInfo)
プロパティ情報を追加します.

パラメータ:
propertyInfo - プロパティ情報

getConstructors

public List<ConstructorInfo> getConstructors()
コンストラクタ情報を返します.

戻り値:
コンストラクタ情報

addConstructor

public void addConstructor(ConstructorInfo constructorInfo)
コンストラクタ情報を追加します.

パラメータ:
constructorInfo - コンストラクタ情報


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