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

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

public class Generator
extends java.lang.Object

This class generatot class


Constructor Summary
Generator()
           
 
Method Summary
 java.lang.String generate(BusinessObject bo)
          Returns the source code of the POJO
 java.lang.String getTemplate()
          Gets the template
 void setTemplate(java.lang.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 java.lang.String generate(BusinessObject bo)
Returns the source code of the POJO

Parameters:
request - The http request
bo - The business object
Returns:
The java source code of the business object

setTemplate

public void setTemplate(java.lang.String strTemplate)
Sets the template

Parameters:
strTemplate - The template

getTemplate

public java.lang.String getTemplate()
Gets the template

Returns:
The string reprensenting the template


Copyright © 2009 Mairie de Paris. All Rights Reserved.