Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
L
M
N
P
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
AbstractBeanTask
- class xcodegen.ant.
AbstractBeanTask
.
Base class for Bean Ant tasks
AbstractBeanTask()
- Constructor for class xcodegen.ant.
AbstractBeanTask
AbstractCodeGenerator
- class xcodegen.generator.
AbstractCodeGenerator
.
Abstract implementation of
CodeGenerator
AbstractCodeGenerator(String)
- Constructor for class xcodegen.generator.
AbstractCodeGenerator
Constructor
AbstractCodeGeneratorTask
- class xcodegen.ant.
AbstractCodeGeneratorTask
.
Base task for CodeGenerators
AbstractCodeGeneratorTask()
- Constructor for class xcodegen.ant.
AbstractCodeGeneratorTask
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
AbstractSQLTask
- class xcodegen.ant.
AbstractSQLTask
.
Base ckass for SQL Ant tasks
AbstractSQLTask()
- Constructor for class xcodegen.ant.
AbstractSQLTask
add(XObject)
- Method in class xcodegen.structure.
XObject
addError(String, XObject, Collection)
- Method in class xcodegen.structure.
XObject
all
- Static variable in class xcodegen.structure.
XPackage
All the packages indexed by their full name
all
- Static variable in class xcodegen.structure.
XClass
All the classes indexed by their long name
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
contains(String)
- Static method in class xcodegen.structure.
XTypes
createDao()
- Method in class xcodegen.ant.
XCodeGen
createDdl()
- Method in class xcodegen.ant.
XCodeGen
createDto()
- Method in class xcodegen.ant.
XCodeGen
createStruts()
- Method in class xcodegen.ant.
XCodeGen
D
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
DAOTask
- class xcodegen.ant.
DAOTask
.
DAO Task
DAOTask()
- Constructor for class xcodegen.ant.
DAOTask
DDLCodeGenerator
- class xcodegen.generator.sql.
DDLCodeGenerator
.
DDLCodeGenerator()
- Constructor for class xcodegen.generator.sql.
DDLCodeGenerator
DDLTask
- class xcodegen.ant.
DDLTask
.
DDL Task
DDLTask()
- Constructor for class xcodegen.ant.
DDLTask
DTOCodeGenerator
- class xcodegen.generator.bean.
DTOCodeGenerator
.
Generator of Data Transfer Object classes.
DTOCodeGenerator()
- Constructor for class xcodegen.generator.bean.
DTOCodeGenerator
DTOTask
- class xcodegen.ant.
DTOTask
.
DTO Task
DTOTask()
- Constructor for class xcodegen.ant.
DTOTask
DUPLICATE_CLASS
- Static variable in class xcodegen.parser.
ParserError
DUPLICATE_FIELD
- Static variable in class xcodegen.parser.
ParserError
DUPLICATE_METHOD
- Static variable in class xcodegen.parser.
ParserError
DUPLICATE_PARAMETER
- Static variable in class xcodegen.parser.
ParserError
DUPLICATE_RULE
- Static variable in class xcodegen.parser.
ParserError
E
execute()
- Method in class xcodegen.ant.
XCodeGen
execute()
- Method in class xcodegen.ant.
AbstractCodeGeneratorTask
F
FIELD_NOT_FOUND
- Static variable in class xcodegen.parser.
ParserError
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.
XObject
Return the Bean-style name of the element.
getCascadeOnDelete()
- Method in class xcodegen.structure.
XReference
getChild(String)
- Method in class xcodegen.structure.
XObject
getChild(String, Class)
- Method in class xcodegen.structure.
XObject
getChildren()
- Method in class xcodegen.structure.
XObject
getChildren(Class)
- Method in class xcodegen.structure.
XObject
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
getCodeGenerator()
- Method in class xcodegen.ant.
StrutsTask
getCodeGenerator()
- Method in class xcodegen.ant.
DTOTask
getCodeGenerator()
- Method in class xcodegen.ant.
DDLTask
getCodeGenerator()
- Method in class xcodegen.ant.
DAOTask
getCodeGenerator()
- Method in class xcodegen.ant.
AbstractCodeGeneratorTask
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.
XObject
getDTOCodeGenerator()
- Method in class xcodegen.generator.
CodeGeneratorFactory
Return the DTO code generator
getErrors()
- Method in class xcodegen.exceptions.
ParserException
getExpression()
- Method in class xcodegen.structure.
XRule
getExpressions()
- Method in class xcodegen.structure.
XRuleExpr
getField()
- Method in class xcodegen.structure.
XRuleCondition
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
getLogger()
- Method in class xcodegen.structure.
XObject
Return the logger of the object
getLongName()
- Method in class xcodegen.structure.
XObject
Return the long name of the object
getMax()
- Method in class xcodegen.structure.
XRuleCondition
getMin()
- Method in class xcodegen.structure.
XRuleCondition
getName()
- Method in class xcodegen.generator.
AbstractCodeGenerator
Return the name of the CodeGenerator
getName()
- Method in class xcodegen.structure.
XRuleExpr
Override getName() because Expression are unnamed
getName()
- Method in class xcodegen.structure.
XObject
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.
XMethod
Get a parameter by its name
getParameters()
- Method in class xcodegen.structure.
XMethod
getParent()
- Method in class xcodegen.structure.
XObject
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
getRemover(String)
- Method in class xcodegen.structure.
XClass
Get a remover by its name
getRemovers()
- Method in class xcodegen.structure.
XClass
getReturnSet()
- Method in class xcodegen.structure.
XFinder
getRule(String)
- Method in class xcodegen.structure.
XClass
Get a rule by its name
getRules()
- Method in class xcodegen.structure.
XClass
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
getStrutsCodeGenerator()
- Method in class xcodegen.generator.
CodeGeneratorFactory
Return the Struts code generator
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.
XRuleExpr
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
getValue()
- Method in class xcodegen.structure.
XRuleCondition
getValues()
- Method in class xcodegen.structure.
XRuleCondition
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.
XMethod
getXClass()
- Method in class xcodegen.structure.
XRuleExpr
getXMLChild(String, Element)
- Method in class xcodegen.structure.
XObject
getXMLChildText(String, Element)
- Method in class xcodegen.structure.
XObject
getXMLChildText(String, Element, String)
- Method in class xcodegen.structure.
XObject
getXMLParser()
- Method in class xcodegen.parser.
ParserFactory
Return an instance of the XML parser
getXMLText(Element)
- Method in class xcodegen.structure.
XObject
H
hasChild(XObject)
- Method in class xcodegen.structure.
XObject
Check if the object has a given child
I
INHERITED_PK_COLUMN
- Static variable in class xcodegen.structure.
XClass
Name of the inherited Primary key
init()
- Method in class xcodegen.ant.
XCodeGen
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XRuleOp
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XRuleCondition
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XRuleExpr
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XMethod
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XObject
Initialize the object from a XML DOM Element
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XRule
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XReference
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XParameter
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XPackage
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XFinder
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XField
init(Element, XObject, Collection)
- Method in class xcodegen.structure.
XClass
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.
StrutsCodeGenerator
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
initChildren(Element, XObject, Collection, String, Class)
- Method in class xcodegen.structure.
XObject
INVALID_FILE_FORMAT
- Static variable in class xcodegen.parser.
ParserError
INVALID_NODE
- 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
INVALID_VALUE
- Static variable in class xcodegen.parser.
ParserError
isOperator(String)
- Static method in class xcodegen.structure.
XRuleOp
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
MISSING_PK
- Static variable in class xcodegen.parser.
ParserError
N
NUMBER_FORMAT
- 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, Object, XObject)
- Constructor for class xcodegen.parser.
ParserError
ParserError(String, XObject)
- 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
ParserException(Exception)
- Constructor for class xcodegen.exceptions.
ParserException
ParserFactory
- class xcodegen.parser.
ParserFactory
.
Factory of parsers
PK_NOT_FOUND
- Static variable in class xcodegen.parser.
ParserError
S
setClassPrefix(String)
- Method in class xcodegen.ant.
AbstractBeanTask
setClassSuffix(String)
- Method in class xcodegen.ant.
AbstractBeanTask
setConfigProperty(String, String)
- Method in class xcodegen.ant.
AbstractCodeGeneratorTask
setDatabase(String)
- Method in class xcodegen.ant.
AbstractSQLTask
setFilepath(String)
- Method in class xcodegen.ant.
XCodeGen
setLanguage(String)
- Method in class xcodegen.ant.
AbstractBeanTask
setOutputDir(String)
- Method in class xcodegen.ant.
AbstractSQLTask
setOutputDir(String)
- Method in class xcodegen.ant.
AbstractBeanTask
setOutputFile(String)
- Method in class xcodegen.ant.
AbstractSQLTask
setPackages(XPackage[])
- Method in class xcodegen.ant.
AbstractCodeGeneratorTask
setPackageSuffix(String)
- Method in class xcodegen.ant.
AbstractBeanTask
setStringSize(String)
- Method in class xcodegen.ant.
AbstractSQLTask
StrutsCodeGenerator
- class xcodegen.generator.bean.
StrutsCodeGenerator
.
CodeGenerator for Struts Forms
StrutsCodeGenerator()
- Constructor for class xcodegen.generator.bean.
StrutsCodeGenerator
StrutsTask
- class xcodegen.ant.
StrutsTask
.
DTO Task
StrutsTask()
- Constructor for class xcodegen.ant.
StrutsTask
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
trimXMLText(String)
- Method in class xcodegen.structure.
XObject
V
VERSION
- Static variable in interface xcodegen.generator.
CodeGenerator
Version
X
XClass
- class xcodegen.structure.
XClass
.
Class descriptor
XClass()
- Constructor for class xcodegen.structure.
XClass
XCodeGen
- class xcodegen.ant.
XCodeGen
.
XCodeGen ant task
xcodegen.ant
- package xcodegen.ant
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()
- Constructor for class xcodegen.ant.
XCodeGen
XCodeGenException
- exception xcodegen.exceptions.
XCodeGenException
.
Base class of all the exceptions
XCodeGenException()
- Constructor for class xcodegen.exceptions.
XCodeGenException
XCodeGenException(Exception)
- 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
XMethod
- class xcodegen.structure.
XMethod
.
Base class for methods
XMethod()
- Constructor for class xcodegen.structure.
XMethod
XMLParser
- class xcodegen.parser.
XMLParser
.
XML parser
XMLParser()
- Constructor for class xcodegen.parser.
XMLParser
XObject
- class xcodegen.structure.
XObject
.
Base class of all XCodeGen objects
XObject()
- Constructor for class xcodegen.structure.
XObject
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
XRemover
- class xcodegen.structure.
XRemover
.
Descriptor of a remover function
XRemover()
- Constructor for class xcodegen.structure.
XRemover
XRule
- class xcodegen.structure.
XRule
.
Validation rule
XRule()
- Constructor for class xcodegen.structure.
XRule
XRuleCondition
- class xcodegen.structure.
XRuleCondition
.
XRuleCondition()
- Constructor for class xcodegen.structure.
XRuleCondition
XRuleExpr
- class xcodegen.structure.
XRuleExpr
.
Expression
XRuleExpr()
- Constructor for class xcodegen.structure.
XRuleExpr
XRuleOp
- class xcodegen.structure.
XRuleOp
.
XRuleOp()
- Constructor for class xcodegen.structure.
XRuleOp
XTypes
- class xcodegen.structure.
XTypes
.
Contains all the type definition
XTypes()
- Constructor for class xcodegen.structure.
XTypes
A
C
D
E
F
G
H
I
L
M
N
P
S
T
V
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes