org.agileclick.genorm.plugins.web
Class WebFieldSetterPlugin

java.lang.Object
  extended by org.agileclick.genorm.plugins.web.WebFieldSetterPlugin
All Implemented Interfaces:
GenPlugin, ORMPlugin

public class WebFieldSetterPlugin
extends java.lang.Object
implements ORMPlugin


Constructor Summary
WebFieldSetterPlugin()
           
 
Method Summary
 java.lang.String getBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
          Returns code that is added to the body of the generated ORM base class
 java.util.Set<java.lang.String> getImplements(java.util.Map<java.lang.String,java.lang.Object> attributes)
           
 void init(Element pluginElement, java.util.Properties config)
          Called to initialize the plugin
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFieldSetterPlugin

public WebFieldSetterPlugin()
Method Detail

init

public void init(Element pluginElement,
                 java.util.Properties config)
Description copied from interface: GenPlugin
Called to initialize the plugin

Specified by:
init in interface GenPlugin
Parameters:
pluginElement - The <plugin> is passed so other options and parameters can be parsed by the plugin
config - Configuration options that were provided in the XML or from the command line

getImplements

public java.util.Set<java.lang.String> getImplements(java.util.Map<java.lang.String,java.lang.Object> attributes)
Specified by:
getImplements in interface ORMPlugin

getBody

public java.lang.String getBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
                         throws java.io.IOException
Description copied from interface: ORMPlugin
Returns code that is added to the body of the generated ORM base class

Specified by:
getBody in interface ORMPlugin
Throws:
java.io.IOException