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

Object
  extended by GenMethod
      extended by ControlOperation
Direct Known Subclasses:
AptOperation

public abstract class ControlOperation
extends GenMethod

The ControlOperation class is an abstract base class that represents an operation on the interface of a ControlBeanType.


Constructor Summary
protected ControlOperation(ControlInterface controlIntf)
          Base constructor, protected so only a custom subclass can invoke
 
Method Summary
 ControlInterface getControlInterface()
          Returns the ControlInterface associated with this ControlOperation
 String getMethodField()
          Returns the name of the static field that holds the name of this method.
protected  void init()
          Initializes the ControlOperation instance.
 void setIndex(int index)
          Sets the unique index value for this method
 
Methods inherited from class GenMethod
getArgDecl, getArgList, getArgList, getArgTypes, getDefaultReturnValue, getName, getReturnType, getThrowsClause, getThrowsList
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlOperation

protected ControlOperation(ControlInterface controlIntf)
Base constructor, protected so only a custom subclass can invoke

Method Detail

init

protected void init()
Initializes the ControlOperation instance. This will be called by custom subclasses to drive the initialization process.


getMethodField

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


setIndex

public void setIndex(int index)
Sets the unique index value for this method


getControlInterface

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