org.apache.beehive.controls.runtime.generator.apt
Class AptContextField

Object
  extended by GenField
      extended by EventField
          extended by ContextField
              extended by AptContextField

public class AptContextField
extends ContextField

The AptContextField class is an implementation of ContextField where values are derived using APT metadata


Constructor Summary
protected AptContextField(ControlImpl controlImpl, FieldDeclaration fieldDecl, AnnotationProcessorEnvironment env)
          Base constructor, protected so only a custom subclass can invoke
 
Method Summary
 String getAccessModifier()
          Returns the access modifier associated with the field
 String getName()
          Returns the name of the field
 String getType()
          Returns the field type of the field
protected  ControlInterface initControlInterface()
          Initializes the ControlInterface associated with this ControlField
 
Methods inherited from class EventField
addEventAdaptor, getControlInterface, getEventAdaptor, getEventAdaptors, init
 
Methods inherited from class GenField
getLocalName, getReflectField
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptContextField

protected AptContextField(ControlImpl controlImpl,
                          FieldDeclaration fieldDecl,
                          AnnotationProcessorEnvironment env)
Base constructor, protected so only a custom subclass can invoke

Parameters:
controlImpl - the declaring ControlImplementation
Method Detail

initControlInterface

protected ControlInterface initControlInterface()
Initializes the ControlInterface associated with this ControlField

Specified by:
initControlInterface in class EventField

getName

public String getName()
Description copied from class: GenField
Returns the name of the field

Specified by:
getName in class GenField

getType

public String getType()
Description copied from class: GenField
Returns the field type of the field

Specified by:
getType in class GenField

getAccessModifier

public String getAccessModifier()
Description copied from class: GenField
Returns the access modifier associated with the field

Specified by:
getAccessModifier in class GenField