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

java.lang.Object
  extended by org.fuin.jmsmvc4swing.model.ResultGenerator<I>
Type Parameters:
I - The controller interface the created class is for.

public class ResultGenerator<I extends Controller>
extends Object

Generates a ResultGenerator implementation.


Constructor Summary
ResultGenerator(org.fuin.srcgen4javassist.SgClassPool pool, ControllerModel<I> model, String basePackage, org.fuin.srcgen4javassist.SgMethod intfListenerMethod)
          Constructor.
 
Method Summary
 org.fuin.srcgen4javassist.SgClass createModelClass()
          Create the model class based on the interface informations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultGenerator

public ResultGenerator(org.fuin.srcgen4javassist.SgClassPool pool,
                       ControllerModel<I> model,
                       String basePackage,
                       org.fuin.srcgen4javassist.SgMethod intfListenerMethod)
Constructor.

Parameters:
pool - Class pool to use.
model - Controller model.
basePackage - Base package.
intfListenerMethod - Listener 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 © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.