com.salto.db.generator.plugin
Class DefaultAbstractGeneratorPlugin

java.lang.Object
  extended by com.salto.db.generator.plugin.DefaultAbstractGeneratorPlugin
All Implemented Interfaces:
IGeneratorPlugin
Direct Known Subclasses:
VelocityAbstractPlugin

public abstract class DefaultAbstractGeneratorPlugin
extends java.lang.Object
implements IGeneratorPlugin


Field Summary
protected  int defaultNameOffset
           
protected  java.lang.String doPrefix
           
protected  java.lang.String pckName
           
protected  java.lang.String srcPath
           
 
Constructor Summary
DefaultAbstractGeneratorPlugin()
           
 
Method Summary
 void abort()
           
 int getDefaultNameOffset()
           
 java.lang.String getDefaultPrefix()
           
 void init(java.lang.String doPrefix, int defaultNameOffset, java.lang.String srcPath, java.lang.String pckName)
           
 void postExecute(JdoInfo[] infos)
           
 void setDefaultNameOffset(int defaultNameOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.salto.db.generator.plugin.IGeneratorPlugin
execute, getLongDescription, getName, getShortDescription
 

Field Detail

doPrefix

protected java.lang.String doPrefix

srcPath

protected java.lang.String srcPath

pckName

protected java.lang.String pckName

defaultNameOffset

protected int defaultNameOffset
Constructor Detail

DefaultAbstractGeneratorPlugin

public DefaultAbstractGeneratorPlugin()
Method Detail

getDefaultNameOffset

public int getDefaultNameOffset()
Specified by:
getDefaultNameOffset in interface IGeneratorPlugin

setDefaultNameOffset

public void setDefaultNameOffset(int defaultNameOffset)

init

public void init(java.lang.String doPrefix,
                 int defaultNameOffset,
                 java.lang.String srcPath,
                 java.lang.String pckName)
          throws java.lang.Exception
Specified by:
init in interface IGeneratorPlugin
Throws:
java.lang.Exception

abort

public void abort()
           throws java.lang.Exception
Specified by:
abort in interface IGeneratorPlugin
Throws:
java.lang.Exception

postExecute

public void postExecute(JdoInfo[] infos)
                 throws java.lang.Exception
Specified by:
postExecute in interface IGeneratorPlugin
Throws:
java.lang.Exception

getDefaultPrefix

public java.lang.String getDefaultPrefix()
Specified by:
getDefaultPrefix in interface IGeneratorPlugin


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.