org.codehaus.modello.plugin

Class AbstractModelloGenerator

public abstract class AbstractModelloGenerator extends AbstractLogEnabled implements ModelloGenerator

Version: $Id: AbstractModelloGenerator.java 176 2004-12-09 03:06:36Z trygvis $

Author: Jason van Zyl Emmanuel Venisse

Method Summary
protected voidaddModelImports(JClass jClass, BaseElement baseElem)
protected Stringcapitalise(String str)
protected VersiongetGeneratedVersion()
protected ModelgetModel()
FilegetOutputDirectory()
protected StringgetParameter(String name, Properties parameters)
protected StringgetParameter(Properties parameters, String name)
protected StringgetParameter(Properties parameters, String name, String defaultValue)
protected voidinitialize(Model model, Properties parameters)
protected booleanisClassInModel(String fieldType, Model model)
protected booleanisCollection(String fieldType)
protected booleanisEmpty(String string)
protected booleanisMap(String fieldType)
protected booleanisPackageWithVersion()
protected Stringsingular(String name)
static Stringuncapitalise(String str)

Method Detail

addModelImports

protected void addModelImports(JClass jClass, BaseElement baseElem)

capitalise

protected String capitalise(String str)

getGeneratedVersion

protected Version getGeneratedVersion()

getModel

protected Model getModel()

getOutputDirectory

public File getOutputDirectory()

getParameter

protected String getParameter(String name, Properties parameters)

Deprecated: @{link Use getParameter( Properties, String )} instead

getParameter

protected String getParameter(Properties parameters, String name)

getParameter

protected String getParameter(Properties parameters, String name, String defaultValue)

initialize

protected void initialize(Model model, Properties parameters)

isClassInModel

protected boolean isClassInModel(String fieldType, Model model)

isCollection

protected boolean isCollection(String fieldType)

isEmpty

protected boolean isEmpty(String string)

isMap

protected boolean isMap(String fieldType)

isPackageWithVersion

protected boolean isPackageWithVersion()

singular

protected String singular(String name)

uncapitalise

public static String uncapitalise(String str)
Copyright © 2001-2007 Codehaus. All Rights Reserved.