org.seasar.framework.aop.intertype
クラス PropertyInterType

java.lang.Object
  拡張org.seasar.framework.aop.intertype.AbstractInterType
      拡張org.seasar.framework.aop.intertype.PropertyInterType
すべての実装インタフェース:
InterType

public class PropertyInterType
extends AbstractInterType

プロパティを追加するためのInterTypeです。

作成者:
y-komori

入れ子クラスの概要
static class PropertyInterType.DefaultPropertyAnnotationHandler
          PropertyInterType.PropertyAnnotationHandlerのデフォルト実装です。
static interface PropertyInterType.PropertyAnnotationHandler
           
 
フィールドの概要
protected static int NONE
          プロパティを追加しません。
protected static int READ
          getterメソッドだけを追加します。
protected static int READWRITE
          getter、setterメソッドを追加します。
protected static java.lang.String STR_NONE
          noneの値
protected static java.lang.String STR_READ
          readの値
protected static java.lang.String STR_READWRITE
          readwriteの値
protected static java.lang.String STR_WRITE
          writeの値
protected static int WRITE
          setterメソッドだけを追加します。
 
クラス org.seasar.framework.aop.intertype.AbstractInterType から継承したフィールド
classPool, COMPONENT, enhancedClass, targetClass
 
コンストラクタの概要
PropertyInterType()
           
 
メソッドの概要
protected  void introduce()
          クラス構造を変更します。
 void setDefaultPropertyType(java.lang.String defaultPropertyType)
          デフォルトのpropertyType(NONE, READ, WRITE, READWRITE)を設定します。
 void setTrace(boolean trace)
          トレースを出力するかどうか設定します。
protected static int valueOf(java.lang.String type)
          値を求めます。
 
クラス org.seasar.framework.aop.intertype.AbstractInterType から継承したメソッド
addConstant, addField, addField, addField, addField, addField, addField, addInterface, addMethod, addMethod, addMethod, addMethod, addMethod, addMethod, addMethod, addMethod, addStaticField, addStaticField, addStaticField, addStaticField, addStaticField, addStaticMethod, addStaticMethod, addStaticMethod, addStaticMethod, addStaticMethod, addStaticMethod, getClassPool, getEnhancedClass, getTargetClass, introduce, toCtClass, toCtClassArray
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NONE

protected static final int NONE
プロパティを追加しません。

関連項目:
定数フィールド値

READ

protected static final int READ
getterメソッドだけを追加します。

関連項目:
定数フィールド値

WRITE

protected static final int WRITE
setterメソッドだけを追加します。

関連項目:
定数フィールド値

READWRITE

protected static final int READWRITE
getter、setterメソッドを追加します。

関連項目:
定数フィールド値

STR_NONE

protected static final java.lang.String STR_NONE
noneの値

関連項目:
定数フィールド値

STR_READ

protected static final java.lang.String STR_READ
readの値

関連項目:
定数フィールド値

STR_WRITE

protected static final java.lang.String STR_WRITE
writeの値

関連項目:
定数フィールド値

STR_READWRITE

protected static final java.lang.String STR_READWRITE
readwriteの値

関連項目:
定数フィールド値
コンストラクタの詳細

PropertyInterType

public PropertyInterType()
メソッドの詳細

valueOf

protected static int valueOf(java.lang.String type)
値を求めます。

パラメータ:
type - タイプ
戻り値:

setTrace

public void setTrace(boolean trace)
トレースを出力するかどうか設定します。

パラメータ:
trace -

setDefaultPropertyType

public void setDefaultPropertyType(java.lang.String defaultPropertyType)
デフォルトのpropertyType(NONE, READ, WRITE, READWRITE)を設定します。

パラメータ:
defaultPropertyType -

introduce

protected void introduce()
クラス AbstractInterType の記述:
クラス構造を変更します。

定義:
クラス AbstractInterType 内の introduce


Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.