org.ashikunep.irenka.dom
インタフェース CtField<R>

型パラメータ:
R - このフィールドを評価した際の型
すべてのスーパーインタフェース:
ClientStorageContainer, CtElement, CtInitializableVariable<R>, CtMember, CtNamedReference, CtReference, CtTypedReference<R>, CtVariable<R>
既知のサブインタフェースの一覧:
CtEnumConstant<R>

public interface CtField<R>
extends CtMember, CtInitializableVariable<R>

フィールド。

バージョン:
$Date: 2008-02-12 12:35:47 +0900 (火, 12 2月 2008) $
作成者:
Suguru ARAKAWA (Gluegent, Inc.)

メソッドの概要
 CtVariableAccess<?> accessFrom(CtExpression<?> object)
          指定のオブジェクトを表す式を用いてこのフィールドにアクセスする式を返す。
 LtFieldDeclaration getDeclarationPersistence()
          この要素の永続を返す。
 CtExpression<?> getInitializer()
          この変数を初期化する式を返す。
 CtField<?> getMaster()
          この参照のマスタ参照を返す。
 CtField<?> inherit(CtGenericReference context)
          指定の総称化コンテキストを適用させた新たな参照を返す。
 CtField<?> newReference()
          この宣言を参照する要素を生成する。
 
インタフェース org.ashikunep.irenka.dom.CtMember から継承されたメソッド
getDeclaringType
 
インタフェース org.ashikunep.irenka.dom.CtReference から継承されたメソッド
getAnnotation, getAnnotations, getJavadoc, getModifiers, getModifiersAndAnnotations, getVisibility, isMaster, isVisibleFrom
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 
インタフェース org.ashikunep.irenka.dom.CtVariable から継承されたメソッド
access
 
インタフェース org.ashikunep.irenka.dom.CtNamedReference から継承されたメソッド
getSimpleName, setSimpleName
 
インタフェース org.ashikunep.irenka.dom.CtReference から継承されたメソッド
getAnnotation, getAnnotations, getJavadoc, getModifiers, getModifiersAndAnnotations, getVisibility, isMaster, isVisibleFrom
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 
インタフェース org.ashikunep.irenka.dom.CtTypedReference から継承されたメソッド
getType
 
インタフェース org.ashikunep.irenka.dom.CtReference から継承されたメソッド
getAnnotation, getAnnotations, getJavadoc, getModifiers, getModifiersAndAnnotations, getVisibility, isMaster, isVisibleFrom
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 

メソッドの詳細

getMaster

CtField<?> getMaster()
インタフェース CtReference の記述:
この参照のマスタ参照を返す。

定義:
インタフェース CtMember 内の getMaster
定義:
インタフェース CtReference 内の getMaster
定義:
インタフェース CtVariable<R> 内の getMaster
戻り値:
マスタ参照

newReference

CtField<?> newReference()
この宣言を参照する要素を生成する。

定義:
インタフェース CtMember 内の newReference
定義:
インタフェース CtReference 内の newReference
定義:
インタフェース CtVariable<R> 内の newReference
戻り値:
この宣言を参照する要素。

getInitializer

@Ignorable
CtExpression<?> getInitializer()
インタフェース CtInitializableVariable の記述:
この変数を初期化する式を返す。

定義:
インタフェース CtInitializableVariable<R> 内の getInitializer
戻り値:
この変数を初期化する式

accessFrom

CtVariableAccess<?> accessFrom(CtExpression<?> object)
指定のオブジェクトを表す式を用いてこのフィールドにアクセスする式を返す。

パラメータ:
object - このフィールドを保持するオブジェクトを表す式
戻り値:
このフィールドにアクセスする式

getDeclarationPersistence

LtFieldDeclaration getDeclarationPersistence()
この要素の永続を返す。

戻り値:
この要素の永続

inherit

CtField<?> inherit(CtGenericReference context)
指定の総称化コンテキストを適用させた新たな参照を返す。 この呼び出しは必ずスレーブ参照を返す。

パラメータ:
context - 適用させるコンテキスト
戻り値:
指定の総称化コンテキストを適用した参照


Copyright 2007 the Seasar Foundation and the Others.