A B C D E F G H I L M P R S T V X

A

AbstractBeanCodeGenerator - class xcodegen.generator.bean.AbstractBeanCodeGenerator.
Base class of JavaBean code generators
AbstractBeanCodeGenerator(String) - Constructor for class xcodegen.generator.bean.AbstractBeanCodeGenerator
Create a new BeanCodeGenerator
AbstractCodeGenerator - class xcodegen.generator.AbstractCodeGenerator.
Abstract implementation of CodeGenerator
AbstractCodeGenerator(String) - Constructor for class xcodegen.generator.AbstractCodeGenerator
Constructor
AbstractSQLCodeGenerator - class xcodegen.generator.sql.AbstractSQLCodeGenerator.
Base class of SQL code generators
AbstractSQLCodeGenerator(String) - Constructor for class xcodegen.generator.sql.AbstractSQLCodeGenerator
Create a new SQLCodeGenerator
AbstractXMethod - class xcodegen.structure.AbstractXMethod.
Base class for methods
AbstractXMethod() - Constructor for class xcodegen.structure.AbstractXMethod
 
AbstractXObject - class xcodegen.structure.AbstractXObject.
Base class of all XCodeGen objects
AbstractXObject() - Constructor for class xcodegen.structure.AbstractXObject
 
add(AbstractXObject) - Method in class xcodegen.structure.AbstractXObject
 
addClass(XClass) - Method in class xcodegen.structure.XPackage
 
addField(XField) - Method in class xcodegen.structure.XClass
 
addFinder(XFinder) - Method in class xcodegen.structure.XClass
 
addParameter(XParameter) - Method in class xcodegen.structure.AbstractXMethod
 

B

BeanPanel - class xcodegen.ui.swingui.panels.BeanPanel.
Configuration panel for Bean code generators
BeanPanel() - Constructor for class xcodegen.ui.swingui.panels.BeanPanel
Creates new form BeanPanel

C

CodeGenerator - interface xcodegen.generator.CodeGenerator.
Interface of the Code generators
CodeGeneratorFactory - class xcodegen.generator.CodeGeneratorFactory.
Factory of code generators.
CONFIG_CLASS_OUTPUT_DIR - Static variable in interface xcodegen.generator.CodeGenerator
Output directory
CONFIG_CLASS_PREFIX - Static variable in interface xcodegen.generator.CodeGenerator
Prefix of the classname to generate
CONFIG_CLASS_SUFFIX - Static variable in interface xcodegen.generator.CodeGenerator
Suffix of the classname to generate
CONFIG_DATABASE - Static variable in interface xcodegen.generator.CodeGenerator
Target database
CONFIG_DATABASE_OUTPUT_DIR - Static variable in interface xcodegen.generator.CodeGenerator
Database output directory
CONFIG_DATABASE_OUTPUT_FILE - Static variable in interface xcodegen.generator.CodeGenerator
Database output file
CONFIG_DATABASE_STRING_SIZE - Static variable in interface xcodegen.generator.CodeGenerator
Default String size
CONFIG_LANGUAGE - Static variable in interface xcodegen.generator.CodeGenerator
Target language
CONFIG_PACKAGE_SUFFIX - Static variable in interface xcodegen.generator.CodeGenerator
Package suffix

D

dao - Variable in class xcodegen.generator.CodeGeneratorFactory
DAO code generator
DAOCodeGenerator - class xcodegen.generator.bean.DAOCodeGenerator.
Generator of Data Access Object interfaces Data Access Object persists Data Transfer Objects into the database
DAOCodeGenerator() - Constructor for class xcodegen.generator.bean.DAOCodeGenerator
 
ddl - Variable in class xcodegen.generator.CodeGeneratorFactory
DDL code generator
DDLCodeGenerator - class xcodegen.generator.sql.DDLCodeGenerator.
 
DDLCodeGenerator() - Constructor for class xcodegen.generator.sql.DDLCodeGenerator
 
dto - Variable in class xcodegen.generator.CodeGeneratorFactory
DTO code generator
DTOCodeGenerator - class xcodegen.generator.bean.DTOCodeGenerator.
Generator of Data Transfer Object classes.
DTOCodeGenerator() - Constructor for class xcodegen.generator.bean.DTOCodeGenerator
 
DUPLICATE_CLASS - Static variable in class xcodegen.parser.ParserError
 
DUPLICATE_FIELD - Static variable in class xcodegen.parser.ParserError
 
DUPLICATE_FINDER - Static variable in class xcodegen.parser.ParserError
 
DUPLICATE_PARAMETER - Static variable in class xcodegen.parser.ParserError
 

E

ErrorDialog - class xcodegen.ui.swingui.ErrorDialog.
 
ErrorDialog(Frame, boolean, Exception) - Constructor for class xcodegen.ui.swingui.ErrorDialog
Creates new form ErrorDialog
ErrorPanel - class xcodegen.ui.swingui.panels.ErrorPanel.
 
ErrorPanel(Exception) - Constructor for class xcodegen.ui.swingui.panels.ErrorPanel
Creates new form ErrorPanel

F

FIELD_SIZE_FORMAT - Static variable in class xcodegen.parser.ParserError
 

G

generate(XClass, VelocityContext, Template) - Method in class xcodegen.generator.AbstractCodeGenerator
Generate the code of a class
generate(XClass, VelocityContext, Template) - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
 
generate(XClass, VelocityContext, Template) - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
 
generate(XPackage[]) - Method in interface xcodegen.generator.CodeGenerator
Generate to code of a set of packages
generate(XPackage[]) - Method in class xcodegen.generator.AbstractCodeGenerator
 
generate(XPackage[]) - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
 
generate(XPackage, VelocityContext, Template) - Method in class xcodegen.generator.AbstractCodeGenerator
Generate the code of a package
generate(XPackage, VelocityContext, Template) - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
 
generate(XPackage, VelocityContext, Template) - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
 
getAuthor() - Method in class xcodegen.structure.XClass
 
getBeanName() - Method in class xcodegen.structure.AbstractXObject
Return the Bean-style name of the element.
getCascadeOnDelete() - Method in class xcodegen.structure.XReference
 
getChild(String) - Method in class xcodegen.structure.AbstractXObject
 
getChild(String, Class) - Method in class xcodegen.structure.AbstractXObject
 
getChildren() - Method in class xcodegen.structure.AbstractXObject
 
getChildren(Class) - Method in class xcodegen.structure.AbstractXObject
 
getClass(String) - Method in class xcodegen.structure.XPackage
Get a class by its name
getClasses() - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
Return all the classes to generate
getClasses() - Method in class xcodegen.structure.XPackage
 
getClassesReverse() - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
Return all the classes to generate in reverse order
getClassname(XClass) - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
Return the name of a class by adding a prefix and a suffix
getColumn() - Method in class xcodegen.structure.XField
 
getConfigProperty(String, String) - Method in interface xcodegen.generator.CodeGenerator
Return a configuration property of the code generator
getConfigProperty(String, String) - Method in class xcodegen.generator.AbstractCodeGenerator
 
getDAOCodeGenerator() - Method in class xcodegen.generator.CodeGeneratorFactory
Return the DAO code generator
getDDLCodeGenerator() - Method in class xcodegen.generator.CodeGeneratorFactory
Return the DDL code generator
getDescription() - Method in class xcodegen.structure.AbstractXObject
 
getDTOCodeGenerator() - Method in class xcodegen.generator.CodeGeneratorFactory
Return the DTO code generator
getErrors() - Method in class xcodegen.exceptions.ParserException
 
getField(String) - Method in class xcodegen.structure.XClass
Get a field by its name
getFields() - Method in class xcodegen.structure.XClass
 
getFields(boolean) - Method in class xcodegen.structure.XClass
Return the fields of the class
getFieldsAsCSV() - Method in class xcodegen.structure.XClass
Return the list of field as ComaSeparatedValued in the format
getFinder(String) - Method in class xcodegen.structure.XClass
Get a finder by its name
getFinders() - Method in class xcodegen.structure.XClass
 
getInstance() - Static method in class xcodegen.generator.CodeGeneratorFactory
Return an instance of the CodeGeneratorFactory
getInstance() - Static method in class xcodegen.parser.ParserFactory
Return an instance of the factory
getLogger() - Method in class xcodegen.generator.AbstractCodeGenerator
Return the Logger
getName() - Method in class xcodegen.generator.AbstractCodeGenerator
Return the name of the CodeGenerator
getName() - Method in class xcodegen.structure.AbstractXObject
 
getNullValue() - Method in class xcodegen.structure.XParameter
 
getPackagename(XPackage) - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
Return the name of a package by adding a suffix
getParameter(String) - Method in class xcodegen.structure.AbstractXMethod
Get a parameter by its name
getParameters() - Method in class xcodegen.structure.AbstractXMethod
 
getParent() - Method in class xcodegen.structure.AbstractXObject
 
getPk() - Method in class xcodegen.structure.XClass
 
getPkColumn() - Method in class xcodegen.structure.XClass
Return the name of the PrimaryKey column.
getReference() - Method in class xcodegen.structure.XField
 
getReturnSet() - Method in class xcodegen.structure.XFinder
 
getSize() - Method in class xcodegen.structure.XField
 
getSQLDelete() - Method in class xcodegen.structure.XClass
Return the DELETE SQL statement
getSQLInsert() - Method in class xcodegen.structure.XClass
Return the INSERT SQL statement
getSQLSelect() - Method in class xcodegen.structure.XClass
Return the SELECT SQL statement
getSQLUpdate() - Method in class xcodegen.structure.XClass
Return the UPDATE SQL statement
getSuperclass() - Method in class xcodegen.structure.XClass
 
getSuperPk() - Method in class xcodegen.structure.XClass
Return the super PrimaryKey.
getTable() - Method in class xcodegen.structure.XClass
 
getTarget() - Method in class xcodegen.structure.XReference
 
getTargetPk() - Method in class xcodegen.structure.XReference
 
getType() - Method in class xcodegen.structure.XParameter
 
getType() - Method in class xcodegen.structure.XField
 
getType(String) - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
Return the type for the targeted language
getType(XField) - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
Return the SQL type of a given field
getVelocityContext() - Method in class xcodegen.generator.AbstractCodeGenerator
Return the VelocityContext used for generating the code
getVelocityTemplate() - Method in class xcodegen.generator.AbstractCodeGenerator
Return the Velocity template
getVelocityTemplatePath() - Method in class xcodegen.generator.AbstractCodeGenerator
Return the path the the template
getVelocityTemplatePath() - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
 
getVelocityTemplatePath() - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
 
getVersion() - Method in class xcodegen.structure.XClass
 
getWhere() - Method in class xcodegen.structure.AbstractXMethod
 
getXMLParser() - Method in class xcodegen.parser.ParserFactory
Return an instance of the XML parser

H

hasChild(AbstractXObject) - Method in class xcodegen.structure.AbstractXObject
Check if the object has a given child

I

INHERITED_PK_COLUMN - Static variable in class xcodegen.structure.XClass
 
init() - Method in class xcodegen.XCodeGen
Initialize the code generator
init(Properties) - Method in interface xcodegen.generator.CodeGenerator
Initialize the code generator
init(Properties) - Method in class xcodegen.generator.AbstractCodeGenerator
 
init(Properties) - Method in class xcodegen.generator.bean.DTOCodeGenerator
 
init(Properties) - Method in class xcodegen.generator.bean.DAOCodeGenerator
 
init(Properties) - Method in class xcodegen.generator.bean.AbstractBeanCodeGenerator
 
init(Properties) - Method in class xcodegen.generator.sql.AbstractSQLCodeGenerator
 
init(XCodeGen) - Method in class xcodegen.ui.swingui.panels.SQLPanel
Initialize the XCodeGen engine
init(XCodeGen) - Method in class xcodegen.ui.swingui.panels.BeanPanel
Initialize the XCodeGen engine
INVALID_FILE_FORMAT - Static variable in class xcodegen.parser.ParserError
 
INVALID_REFERENCE - Static variable in class xcodegen.parser.ParserError
 
INVALID_SUPERCLASS - Static variable in class xcodegen.parser.ParserError
 
isRequired() - Method in class xcodegen.structure.XField
 

L

loadResourceAsProperties(String) - Method in class xcodegen.generator.AbstractCodeGenerator
Create a java.util.Properties from a resource stream

M

main(String[]) - Static method in class xcodegen.ui.swingui.MainFrame
 
MainFrame - class xcodegen.ui.swingui.MainFrame.
Main form
MainFrame() - Constructor for class xcodegen.ui.swingui.MainFrame
Creates new form Main
MISSING_PK - Static variable in class xcodegen.parser.ParserError
 

P

PARAMETER_COUNT - Static variable in class xcodegen.parser.ParserError
 
parse(InputStream) - Method in class xcodegen.parser.XMLParser
 
parse(InputStream) - Method in interface xcodegen.parser.Parser
Parse an InputStream an build the package structure
Parser - interface xcodegen.parser.Parser.
XCodeGen parser
ParserError - class xcodegen.parser.ParserError.
Parser error
ParserError(String, AbstractXObject) - Constructor for class xcodegen.parser.ParserError
 
ParserError(String, Object, AbstractXObject) - Constructor for class xcodegen.parser.ParserError
 
ParserException - exception xcodegen.exceptions.ParserException.
This errors is thrown when errors while parsing files
ParserException(Collection) - Constructor for class xcodegen.exceptions.ParserException
 
ParserFactory - class xcodegen.parser.ParserFactory.
Factory of parsers
PK_NOT_FOUND - Static variable in class xcodegen.parser.ParserError
 

R

run() - Method in class xcodegen.XCodeGen
Run the code generator.

S

setAuthor(String) - Method in class xcodegen.structure.XClass
 
setBeanOutputDir(String) - Method in class xcodegen.XCodeGen
 
setCascadeOnDelete(boolean) - Method in class xcodegen.structure.XReference
 
setColumn(String) - Method in class xcodegen.structure.XField
 
setDAOClassPrefix(String) - Method in class xcodegen.XCodeGen
 
setDAOClassSuffix(String) - Method in class xcodegen.XCodeGen
 
setDAOPackageSuffix(String) - Method in class xcodegen.XCodeGen
 
setDatabase(String) - Method in class xcodegen.XCodeGen
 
setDDLOutputFile(String) - Method in class xcodegen.XCodeGen
 
setDDLStringSize(String) - Method in class xcodegen.XCodeGen
 
setDescription(String) - Method in class xcodegen.structure.AbstractXObject
 
setDTOClassPrefix(String) - Method in class xcodegen.XCodeGen
 
setDTOClassSuffix(String) - Method in class xcodegen.XCodeGen
 
setDTOPackageSuffix(String) - Method in class xcodegen.XCodeGen
 
setFilepath(String) - Method in class xcodegen.XCodeGen
 
setGenerateDAO(boolean) - Method in class xcodegen.XCodeGen
 
setGenerateDDL(boolean) - Method in class xcodegen.XCodeGen
 
setGenerateDTO(boolean) - Method in class xcodegen.XCodeGen
 
setLanguage(String) - Method in class xcodegen.XCodeGen
 
setName(String) - Method in class xcodegen.structure.AbstractXObject
 
setNullValue(String) - Method in class xcodegen.structure.XParameter
 
setPk(XField) - Method in class xcodegen.structure.XClass
 
setReference(XReference) - Method in class xcodegen.structure.XField
 
setRequired(boolean) - Method in class xcodegen.structure.XField
 
setReturnSet(boolean) - Method in class xcodegen.structure.XFinder
 
setSize(int) - Method in class xcodegen.structure.XField
 
setSQLOutputDir(String) - Method in class xcodegen.XCodeGen
 
setSuperclass(XClass) - Method in class xcodegen.structure.XClass
 
setTable(String) - Method in class xcodegen.structure.XClass
 
setTarget(XClass) - Method in class xcodegen.structure.XReference
 
setType(String) - Method in class xcodegen.structure.XParameter
 
setVersion(String) - Method in class xcodegen.structure.XClass
 
setWhere(String) - Method in class xcodegen.structure.AbstractXMethod
 
SQLPanel - class xcodegen.ui.swingui.panels.SQLPanel.
Configuration panel for Bean code generators
SQLPanel() - Constructor for class xcodegen.ui.swingui.panels.SQLPanel
Creates new form BeanPanel
SUBCLASS_WITH_PK - Static variable in class xcodegen.parser.ParserError
 
SUPERCLASS_NOT_FOUND - Static variable in class xcodegen.parser.ParserError
 

T

toString() - Method in class xcodegen.parser.ParserError
 

V

VERSION - Static variable in class xcodegen.XCodeGen
Version

X

XClass - class xcodegen.structure.XClass.
Class descriptor
XClass() - Constructor for class xcodegen.structure.XClass
 
xcodegen - package xcodegen
 
XCodeGen - class xcodegen.XCodeGen.
Runs the XCodeGen engine
xcodegen.exceptions - package xcodegen.exceptions
 
xcodegen.generator - package xcodegen.generator
 
xcodegen.generator.bean - package xcodegen.generator.bean
 
xcodegen.generator.sql - package xcodegen.generator.sql
 
xcodegen.parser - package xcodegen.parser
 
xcodegen.structure - package xcodegen.structure
 
xcodegen.ui.swingui - package xcodegen.ui.swingui
 
xcodegen.ui.swingui.panels - package xcodegen.ui.swingui.panels
 
XCodeGen() - Constructor for class xcodegen.XCodeGen
 
XCodeGenException - exception xcodegen.exceptions.XCodeGenException.
Base class of all the exceptions
XCodeGenException() - Constructor for class xcodegen.exceptions.XCodeGenException
 
XCodeGenException(String) - Constructor for class xcodegen.exceptions.XCodeGenException
 
XCodeGenException(String, Exception) - Constructor for class xcodegen.exceptions.XCodeGenException
 
XField - class xcodegen.structure.XField.
Field descriptor
XField() - Constructor for class xcodegen.structure.XField
 
XFinder - class xcodegen.structure.XFinder.
Finder descriptor
XFinder() - Constructor for class xcodegen.structure.XFinder
 
XMLParser - class xcodegen.parser.XMLParser.
XML parser
XMLParser() - Constructor for class xcodegen.parser.XMLParser
Creates a new instance of XMLParser
XPackage - class xcodegen.structure.XPackage.
Package descriptor
XPackage() - Constructor for class xcodegen.structure.XPackage
 
XParameter - class xcodegen.structure.XParameter.
Parameter description
XParameter() - Constructor for class xcodegen.structure.XParameter
 
XReference - class xcodegen.structure.XReference.
Reference descriptor
XReference() - Constructor for class xcodegen.structure.XReference
 

A B C D E F G H I L M P R S T V X