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

Object
  extended by GenClass
      extended by ControlImpl
          extended by AptControlImplementation

public class AptControlImplementation
extends ControlImpl


Constructor Summary
AptControlImplementation(Declaration decl, AnnotationProcessorEnvironment env)
          Constructs a new ControlImpl instance where information is derived from APT metadata
 
Method Summary
 String getClassName()
          Returns the fully qualified classname of this ControlImpl
 ControlInterface getControlInterface()
          Returns the ControlInterface implemented by this ControlImpl.
 String getPackage()
          Returns the fully qualified package name of the ControlImpl
 String getShortName()
          Returns the unqualified classname of this ControlImpl Note that if the class is nested, this will not return the containing class/intf names.
protected  ArrayList<ClientField> initClients()
          Initializes the list of ClientFields declared directly by this ControlImpl
protected  ArrayList<ContextField> initContexts()
          Initializes the list of ContextFields declared directly by this ControlImpl
protected  ArrayList<ControlField> initControls()
          Initializes the list of ControlFields for this ControlImpl
protected  void initEventAdaptors()
          Initializes the list of EventAdaptors for this ControlImpl
protected  ControlImpl initSuperClass()
          Initializes the super interface that this ControlImpl extends (or null if a base class)
 
Methods inherited from class ControlImpl
getCheckOutput, getClients, getContexts, getControlField, getField, getGeneratedTypes, getSuperClass, hasClients, hasContexts, hasControls, init
 
Methods inherited from class GenClass
getGenerateOutput, hasSuperClass
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptControlImplementation

public AptControlImplementation(Declaration decl,
                                AnnotationProcessorEnvironment env)
Constructs a new ControlImpl instance where information is derived from APT metadata

Parameters:
decl - the annotated declaration
Method Detail

initSuperClass

protected ControlImpl initSuperClass()
Initializes the super interface that this ControlImpl extends (or null if a base class)

Specified by:
initSuperClass in class ControlImpl

getControlInterface

public ControlInterface getControlInterface()
Returns the ControlInterface implemented by this ControlImpl.

Specified by:
getControlInterface in class ControlImpl

getPackage

public String getPackage()
Returns the fully qualified package name of the ControlImpl

Specified by:
getPackage in class GenClass

getShortName

public String getShortName()
Returns the unqualified classname of this ControlImpl Note that if the class is nested, this will not return the containing class/intf names.

Specified by:
getShortName in class GenClass

getClassName

public String getClassName()
Returns the fully qualified classname of this ControlImpl

Specified by:
getClassName in class GenClass

initContexts

protected ArrayList<ContextField> initContexts()
Initializes the list of ContextFields declared directly by this ControlImpl

Specified by:
initContexts in class ControlImpl

initClients

protected ArrayList<ClientField> initClients()
Initializes the list of ClientFields declared directly by this ControlImpl

Specified by:
initClients in class ControlImpl

initControls

protected ArrayList<ControlField> initControls()
Initializes the list of ControlFields for this ControlImpl

Specified by:
initControls in class ControlImpl

initEventAdaptors

protected void initEventAdaptors()
Initializes the list of EventAdaptors for this ControlImpl

Specified by:
initEventAdaptors in class ControlImpl