fr.paris.lutece.plugins.pluginwizard.service.generator
Class BusinessClassGenerator

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
      extended by fr.paris.lutece.plugins.pluginwizard.service.generator.BusinessClassGenerator
All Implemented Interfaces:
Generator

public class BusinessClassGenerator
extends AbstractGenerator

The business classes representing the business layer of the plugin is generated


Constructor Summary
BusinessClassGenerator()
           
 
Method Summary
 Map generate(PluginModel pm)
          Visiting parts of the file tree structure
 void setFiles(List<BusinessFileConfig> listFiles)
          Set the list of files config
 
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
build, build, build, build, getFilePath, getFirstCaps, getModel, getTemplate, setTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessClassGenerator

public BusinessClassGenerator()
Method Detail

setFiles

public void setFiles(List<BusinessFileConfig> listFiles)
Set the list of files config

Parameters:
listFiles - The list of files

generate

public Map generate(PluginModel pm)
Visiting parts of the file tree structure

Parameters:
pm - The plugin model
Returns:
A hadh map with the name of the file and a string in which is found the corresponding source code


Copyright © 2013 Mairie de Paris. All Rights Reserved.