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 generator class


Constructor Summary
Generator()
           
 
Method Summary
 java.lang.String generate(BusinessClass businessClass)
          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(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(java.lang.String strTemplate)
Sets the template

Parameters:
strTemplate - The template

getTemplate

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

Returns:
The string representing the template


Copyright © 2012 Mairie de Paris. All Rights Reserved.