fr.paris.lutece.plugins.pluginwizard.service
Class Generator

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.Generator

public class Generator
extends Object

This class generator class


Constructor Summary
Generator()
           
 
Method Summary
 String generate(BusinessClass businessClass)
          Returns the source code of the POJO
 String getTemplate()
          Gets the template
 void setTemplate(String strTemplate)
          Sets the template
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator()
Method Detail

generate

public String generate(BusinessClass businessClass)
Returns the source code of the POJO

Parameters:
businessClass - The business class
Returns:
The java source code of the business object

setTemplate

public void setTemplate(String strTemplate)
Sets the template

Parameters:
strTemplate - The template

getTemplate

public String getTemplate()
Gets the template

Returns:
The string representing the template


Copyright © 2013 Mairie de Paris. All Rights Reserved.