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

Object
  extended by GenClass

public abstract class GenClass
extends Object

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

This is done with an abstract class (instead of an interface) so derived abstract classes can be subclassed from it w/out requiring all of the methods to be declared there.


Constructor Summary
GenClass()
           
 
Method Summary
 List<GeneratorOutput> getCheckOutput(Filer filer)
          Returns the list of generated files derived from this GenClass during the check phase of annotation processing.
abstract  String getClassName()
          Returns the fully qualified classname associated with the GenClass
 String[] getGeneratedTypes()
          Returns the list of fully qualified class names for types that are derived from this GenClass
 List<GeneratorOutput> getGenerateOutput(Filer filer)
          Returns the list of generated files derived from this GenClass during the generate phase of annotation processing.
abstract  String getPackage()
          Returns the base package name associated with the GenClass
abstract  String getShortName()
          Returns the unqualified class name associated with the GenClass
abstract  GenClass getSuperClass()
          Returns the super class for this class
 boolean hasSuperClass()
          Returns true if the GenClass extends another class
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenClass

public GenClass()
Method Detail

getClassName

public abstract String getClassName()
Returns the fully qualified classname associated with the GenClass


getPackage

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


getShortName

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


getSuperClass

public abstract GenClass getSuperClass()
Returns the super class for this class


hasSuperClass

public boolean hasSuperClass()
Returns true if the GenClass extends another class


getGeneratedTypes

public String[] getGeneratedTypes()
Returns the list of fully qualified class names for types that are derived from this GenClass


getCheckOutput

public List<GeneratorOutput> getCheckOutput(Filer filer)
                                     throws IOException
Returns the list of generated files derived from this GenClass during the check phase of annotation processing.

Throws:
IOException

getGenerateOutput

public List<GeneratorOutput> getGenerateOutput(Filer filer)
                                        throws IOException
Returns the list of generated files derived from this GenClass during the generate phase of annotation processing.

Throws:
IOException