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

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

public final class ArgumentsGenerator<I extends Controller>
extends AbstractMethodGenerator<I,Data>

Generates the "Argument" class.


Constructor Summary
ArgumentsGenerator(org.fuin.srcgen4javassist.SgClassPool pool, ControllerModel<I> model, 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

ArgumentsGenerator

public ArgumentsGenerator(org.fuin.srcgen4javassist.SgClassPool pool,
                          ControllerModel<I> model,
                          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 © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.