org.apache.beehive.controls.runtime.generator
Class AptOperation

Object
  extended by AptMethod
      extended by AptOperation

public class AptOperation
extends AptMethod

The AptOperation class represents a control operation where the operation attributes are derived using APT metadata.


Constructor Summary
AptOperation(AptControlInterface controlIntf, MethodDeclaration methodDecl, TwoPhaseAnnotationProcessor ap)
          Constructs a new ControlOperation instance where interface information is derived from APT metadata
 
Method Summary
 AptControlInterface getControlInterface()
          Returns the AptControlInterface associated with this ControlOperation
 String getMethodField()
          Returns the name of the static field that holds the name of this method.
 
Methods inherited from class AptMethod
getArgDecl, getArgDecl, getArgList, getArgList, getArgTypes, getDefaultReturnValue, getDefaultReturnValue, getFeatureInfo, getFormalTypes, getIndex, getInterceptorDecl, getInterceptorServiceNames, getName, getReturnType, getReturnType, getThrowsClause, getThrowsList, hasParameterizedArguments, isPublic, setIndex
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptOperation

public AptOperation(AptControlInterface controlIntf,
                    MethodDeclaration methodDecl,
                    TwoPhaseAnnotationProcessor ap)
Constructs a new ControlOperation instance where interface information is derived from APT metadata

Parameters:
controlIntf - the declaring ControlInterface
methodDecl - the method associated with the operation
Method Detail

getMethodField

public String getMethodField()
Returns the name of the static field that holds the name of this method.


getControlInterface

public AptControlInterface getControlInterface()
Returns the AptControlInterface associated with this ControlOperation