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

Object
  extended by AptType
Direct Known Subclasses:
AptControlClient, AptControlImplementation, AptControlInterface, AptEventSet

public class AptType
extends Object

The AptType abstract class defines a base set of methods that are generally available for template usage on type declaration objects


Constructor Summary
AptType()
           
 
Method Summary
 String getClassName()
          Returns the fully qualified classname of this AptType
 String getFormalClassName()
          Returns the class name and the names of any formal type parameters associated with the type.
 String getFormalShortName()
          Returns the short name and the names of any formal type parameters associated with the type.
 String getFormalTypeParameterNames()
          Returns the name of any formal type parameter names associated with the type declaration.
 String getFormalTypeParameters()
          Returns the full formal type parameter declaration associated with the type declaration
 String getPackage()
          Returns the base package name associated with the AptType
 String getShortName()
          Returns the unqualified class name associated with the AptType
 TypeDeclaration getTypeDeclaration()
          Returns the underlying type declaration name
protected  void setDeclaration(TypeDeclaration typeDecl)
          Sets the TypeDeclaration associated with this AptType.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptType

public AptType()
Method Detail

setDeclaration

protected void setDeclaration(TypeDeclaration typeDecl)
Sets the TypeDeclaration associated with this AptType.


getClassName

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


getPackage

public String getPackage()
Returns the base package name associated with the AptType


getShortName

public String getShortName()
Returns the unqualified class name associated with the AptType


getFormalTypeParameters

public String getFormalTypeParameters()
Returns the full formal type parameter declaration associated with the type declaration


getFormalTypeParameterNames

public String getFormalTypeParameterNames()
Returns the name of any formal type parameter names associated with the type declaration.


getFormalShortName

public String getFormalShortName()
Returns the short name and the names of any formal type parameters associated with the type. The format is suitable for use in location (such as variable declarations or extends clauses) where you want formal type parameters listed.


getFormalClassName

public String getFormalClassName()
Returns the class name and the names of any formal type parameters associated with the type. The format is suitable for use in location (such as variable declarations or extends clauses) where you want formal type parameters listed.


getTypeDeclaration

public TypeDeclaration getTypeDeclaration()
Returns the underlying type declaration name