org.fuin.jmsmvc4swing.model
Class MethodHandlerGenerator<I extends Controller>

java.lang.Object
  extended by org.fuin.jmsmvc4swing.model.AbstractGenerator<I,T>
      extended by org.fuin.jmsmvc4swing.model.AbstractMethodGenerator<I,MethodHandler>
          extended by org.fuin.jmsmvc4swing.model.MethodHandlerGenerator<I>
Type Parameters:
I - The controller interface the created class is for.

public final class MethodHandlerGenerator<I extends Controller>
extends AbstractMethodGenerator<I,MethodHandler>

Generates a MethodHandler implementation.


Constructor Summary
MethodHandlerGenerator(org.fuin.srcgen4javassist.SgClassPool pool, ControllerModel<I> model, java.lang.String basePackage, org.fuin.srcgen4javassist.SgMethod intfMethod)
          Constructor.
 
Method Summary
 org.fuin.srcgen4javassist.SgClass createModelClass()
          Create the model class based on the interface informations.
 
Methods inherited from class org.fuin.jmsmvc4swing.model.AbstractMethodGenerator
getIntfMethod
 
Methods inherited from class org.fuin.jmsmvc4swing.model.AbstractGenerator
getBasePackage, getDestClass, getDestPackage, getModel, getPool, getSimpleDestClass, getSubPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodHandlerGenerator

public MethodHandlerGenerator(org.fuin.srcgen4javassist.SgClassPool pool,
                              ControllerModel<I> model,
                              java.lang.String basePackage,
                              org.fuin.srcgen4javassist.SgMethod intfMethod)
Constructor.

Parameters:
pool - Class pool to use.
model - Controller model.
basePackage - Base package.
intfMethod - Method from the interface the class depends on.
Method Detail

createModelClass

public final org.fuin.srcgen4javassist.SgClass createModelClass()
Create the model class based on the interface informations.

Returns:
Model class.


Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.