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

Object
  extended by GenField
      extended by EventField
          extended by ControlField
              extended by AptControlField

public class AptControlField
extends ControlField

The AptControlField class is an implementation of ControlField where values are derived using APT metadata.


Constructor Summary
protected AptControlField(GenClass controlClient, FieldDeclaration controlDecl, 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 ControlField
getControlBean, init
 
Methods inherited from class EventField
addEventAdaptor, getControlInterface, getEventAdaptor, getEventAdaptors
 
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

AptControlField

protected AptControlField(GenClass controlClient,
                          FieldDeclaration controlDecl,
                          AnnotationProcessorEnvironment env)
Base constructor, protected so only a custom subclass can invoke

Parameters:
controlClient - 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