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

Object
  extended by ControlBean

public class ControlBean
extends Object

The ControlBean class is an class representing a generated JavaBean class that can host control implementation types associated with a particular control public or extension interface.


Constructor Summary
protected ControlBean(AptControlInterface controlIntf)
          Constructs a new ControlBean class supporting a particular bean interface
 
Method Summary
 String getBeanInfoName()
          Returns the fully qualified classname of the ControlBean BeanInfo class.
 String getClassDeclaration()
          Returns the class declaration for the ControlBean
 String getClassName()
          Returns the fully qualified classname of the ControlBean
 AptControlInterface getControlInterface()
          Returns the public or extension interface associated with the ControlBean
 String getManifestName()
          Returns the class as a Jar Manifest Name attribute
 String getPackage()
          Returns the fully qualified package name of the ControlBean
 String getShortName()
          Returns the unqualified classname of the ControlBean
 ControlBean getSuperClass()
          Returns the super class for this ControlBean
 String getSuperTypeBinding()
          Returns any formal type parameters that should be bound for the bean's superclass, based upon any type bindings that occur on the original interface.
 boolean isRootPackage()
          Return whether the ControlBean is contained in a package.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlBean

protected ControlBean(AptControlInterface controlIntf)
Constructs a new ControlBean class supporting a particular bean interface

Parameters:
controlIntf - the public interface associated with the bean
Method Detail

isRootPackage

public boolean isRootPackage()
Return whether the ControlBean is contained in a package.


getPackage

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


getShortName

public String getShortName()
Returns the unqualified classname of the ControlBean


getClassName

public String getClassName()
Returns the fully qualified classname of the ControlBean


getClassDeclaration

public String getClassDeclaration()
Returns the class declaration for the ControlBean


getBeanInfoName

public String getBeanInfoName()
Returns the fully qualified classname of the ControlBean BeanInfo class. The standard JavaBean naming convention is used to enable automatic location by the JavaBean introspector.


getManifestName

public String getManifestName()
Returns the class as a Jar Manifest Name attribute


getControlInterface

public AptControlInterface getControlInterface()
Returns the public or extension interface associated with the ControlBean


getSuperClass

public ControlBean getSuperClass()
Returns the super class for this ControlBean


getSuperTypeBinding

public String getSuperTypeBinding()
Returns any formal type parameters that should be bound for the bean's superclass, based upon any type bindings that occur on the original interface.