Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
U
V
W
X
A
addFieldDefinition(FieldDefinition)
- Method in class ijgen.generator.model.
ClassDefinition
Sets a list of all definitions for all the fields in this class.
addTemplateGenerator(TemplateGenerator)
- Method in class ijgen.generator.engine.
Generator
Adds a template generator instance that has to be processed.
C
capitalizeFieldName(String)
- Method in class ijgen.generator.util.
TemplateUtils
Capitalizes field name passed as a parameter.
CLASS_DEFINITION_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which single class definition is set in the velocity context
CLASS_DEFINITIONS_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which multiple class definitions are set in the velocity context
ClassDefinition
- Class in
ijgen.generator.model
Class holding the meta-data for an domain object.
ClassDefinition()
- Constructor for class ijgen.generator.model.
ClassDefinition
Default constructor
classDefinitions
- Variable in class ijgen.generator.engine.
TemplateGenerator
Class definitions which will be passed to the abstract doGenerate() method
CommandLineParser
- Class in
ijgen.generator.util
Utility class that takes as an argument RAW, not parsed command line arguments and extracts the info needed by the generator.
CommandLineParser(String[])
- Constructor for class ijgen.generator.util.
CommandLineParser
Creates CommandLineParser object instance, parses RAW console arguments and populates with information the fields: models, templates, generators, mode
Constraints
- Annotation Type in
ijgen.generator.annotations
Annotation describing set of constraints for a field in domain class.
constructFilePath(ClassDefinition, String, String, String, String, boolean)
- Static method in class ijgen.generator.util.
GeneratorUtils
Constructs a fully qualified path to a file.
constructFilePath(String, String, String, String, boolean)
- Static method in class ijgen.generator.util.
GeneratorUtils
Calls constructFilePath without class definition parameter.
constructPathFromClassPackage(ClassDefinition)
- Static method in class ijgen.generator.util.
GeneratorUtils
Gets a directory structure from package name.
createDatabase()
- Method in class ijgen.generator.ant.
GeneratorTask
Reads and fills information from
element in ant task.
createGeneratorType()
- Method in class ijgen.generator.ant.
GeneratorTask
Reads and fills information from
element in ant task.
createPath()
- Method in class ijgen.generator.ant.
GeneratorTask
Reads and fills information from
element in ant task.
customLine
- Variable in class ijgen.generator.engine.
TemplateGenerator
Contains the string describing that file is already customized and should not be overriden by the generator.
D
Database
- Class in
ijgen.generator.params
Database()
- Constructor for class ijgen.generator.params.
Database
DB_FIELD_TYPE_MAPPER_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which java to database mapper class is set in the velocity context
DbCreateTemplateGenerator
- Class in
ijgen.generator.engine.generators
DbCreateTemplateGenerator()
- Constructor for class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
DbCreateTemplateGenerator.LinkTableInfo
- Class in
ijgen.generator.engine.generators
DbCreateTemplateGenerator.LinkTableInfo()
- Constructor for class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
DBTable
- Annotation Type in
ijgen.generator.annotations
Annotation that carries information for the DB table responsible for persisting the domain object.
DEFAULT_GEN_FOLDER
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Default directory name used to place generated files.
DEFAULT_GEN_FOLDER_CTX
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Default directory name used to place generated context files.
DEFAULT_GEN_FOLDER_DB
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Default directory name used to place generated sql files.
DEFAULT_GEN_FOLDER_SRC
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Default directory name used to place generated source files.
doGenerate(Map<String, File>, List<ClassDefinition>)
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
Implements the parent abstract method.
doGenerate(Map<String, File>, List<ClassDefinition>)
- Method in class ijgen.generator.engine.generators.
MultipleDefinitionsTemplateGenerator
Implements the parent abstract method.
doGenerate(Map<String, File>, List<ClassDefinition>)
- Method in class ijgen.generator.engine.generators.
SingleDefinitionTemplateGenerator
Implements the parent abstract method.
doGenerate(Map<String, File>, List<ClassDefinition>)
- Method in class ijgen.generator.engine.
TemplateGenerator
Abstract method that should be overridden by all child classes.
doLoadClassDefinitions()
- Method in class ijgen.generator.engine.parser.java.
JavaModelDefinitionsLoader
Abstract method that should be overridden by all the successors of this class.
doLoadClassDefinitions()
- Method in class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Abstract method that should be overridden by all the successors of this class.
doLoadClassDefinitions()
- Method in class ijgen.generator.engine.parser.xml.
XmlModelsDefinitionsLoader
Abstract method that should be overridden by all the successors of this class.
E
ensureDirectoryStructure(String)
- Static method in class ijgen.generator.util.
GeneratorUtils
Ensures that directory structure specified by the path parameter exists.
execute()
- Method in class ijgen.generator.ant.
GeneratorTask
Overrides abstract parent method.
execute(GlobalSettings, String)
- Method in class ijgen.generator.util.
GeneratorExecutor
Instantiates and executes a generator with GlobalSettings passed as a parameter.
F
FieldConstraints
- Class in
ijgen.generator.model
FieldConstraints()
- Constructor for class ijgen.generator.model.
FieldConstraints
FieldDefinition
- Class in
ijgen.generator.model
Class holding metadata information for a field in a class representing an object in model.
FieldDefinition()
- Constructor for class ijgen.generator.model.
FieldDefinition
Default constructor
FieldJoinInformation
- Class in
ijgen.generator.model
FieldJoinInformation()
- Constructor for class ijgen.generator.model.
FieldJoinInformation
fileFilter
- Variable in class ijgen.generator.engine.
TemplateGenerator
Holds the extension that is used for filter which templates has to be proccessed by generator.
G
generate()
- Method in class ijgen.generator.engine.
TemplateGenerator
Template method that prepares the parameters and run the actual implementation of doGenerate() with these parameters.
generatedExtension
- Variable in class ijgen.generator.engine.
TemplateGenerator
Specifies the extension for generated artifacts.
GeneratedLayers
- Annotation Type in
ijgen.generator.annotations
Annotation containing information that instructs the generator which templates to execute for which models.
Generator
- Class in
ijgen.generator.engine
Class responsible for batch execution of set of template generators.
Generator(String)
- Constructor for class ijgen.generator.engine.
Generator
Creates a generator for the templates contained in the directory that is specified as an argument.
GENERATOR_CONTEXT_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which instance of LinkTableInfo class is set in the velocity context
GeneratorConstants
- Interface in
ijgen.generator.util
GeneratorContext
- Class in
ijgen.generator.params
Class that holds the current context in which the generator is executed.
GeneratorContext()
- Constructor for class ijgen.generator.params.
GeneratorContext
GeneratorExecutor
- Class in
ijgen.generator.util
GeneratorExecutor()
- Constructor for class ijgen.generator.util.
GeneratorExecutor
GeneratorTask
- Class in
ijgen.generator.ant
GeneratorTask()
- Constructor for class ijgen.generator.ant.
GeneratorTask
GeneratorType
- Class in
ijgen.generator.params
Class describing a generator that should be executed
GeneratorType()
- Constructor for class ijgen.generator.params.
GeneratorType
GeneratorUtils
- Class in
ijgen.generator.util
GeneratorUtils()
- Constructor for class ijgen.generator.util.
GeneratorUtils
getCamelCaseFromClassName(String)
- Method in class ijgen.generator.util.
TemplateUtils
Gets a class name in camel case style.
getCamelCaseGetterName(String)
- Method in class ijgen.generator.util.
TemplateUtils
Gets a name of the getter based on the field name passed as an argument.
getCamelCaseSetterName(String)
- Method in class ijgen.generator.util.
TemplateUtils
Gets a name of the setter based on the field name passed as an argument.
getClassDefinitions()
- Method in class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Gets a list for loaded model definitions for the directory returned by the method getModelDefinitionsDirectory()
getClassName()
- Method in class ijgen.generator.model.
ClassDefinition
Gets the name of the class
getClassName()
- Method in class ijgen.generator.params.
GeneratorType
Gets class name of the generator.
getClassWithoutPackage(String)
- Method in class ijgen.generator.util.
TemplateUtils
getColumnName()
- Method in class ijgen.generator.model.
FieldDefinition
Gets the column name that is used to map this field to database.
getCustomLine()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
getCustomLine()
- Method in class ijgen.generator.engine.generators.
MultipleDefinitionsTemplateGenerator
getCustomLine()
- Method in class ijgen.generator.engine.generators.
SingleDefinitionTemplateGenerator
getCustomLine()
- Method in class ijgen.generator.engine.
TemplateGenerator
Abstract method that forces successors of this class to specify the custom line which indicates that the artifact is already customized and should not be generated anymore.
getCustomLine()
- Method in class ijgen.generator.params.
GeneratorType
Gets line describing that file is customized.
getDatabase()
- Method in class ijgen.generator.params.
GlobalSettings
Gets database settings.
getDatabaseTemplateName()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
getDatabaseType()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
getDatabaseType()
- Method in class ijgen.generator.params.
Database
Gets database type.
getDbFieldName(String)
- Method in class ijgen.generator.util.
TemplateUtils
Gets a database column name from field name specified as a parameter.
getDBMapping(FieldDefinition)
- Method in class ijgen.generator.db.impl.
MySQLJavaToDBMapping
Implements the interface method.
getDBMapping(FieldDefinition)
- Method in interface ijgen.generator.db.
JavaToDBMapping
Returns database type from the FieldDefinition object passed as a parameter.
getDbSettings()
- Method in class ijgen.generator.util.
CommandLineParser
Gets the database settings.
getDbTable()
- Method in class ijgen.generator.model.
ClassDefinition
Gets the name of the database table which will be used for persisting this class.
getDriver()
- Method in class ijgen.generator.params.
Database
Gets database driver.
getField1Name()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
getField2Name()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
getFieldConstraints()
- Method in class ijgen.generator.model.
FieldDefinition
Gets the constraints for this field.
getFieldDefinitions()
- Method in class ijgen.generator.model.
ClassDefinition
Gets a list of all definitions for all the fields in this class.
getFieldJoinInformation()
- Method in class ijgen.generator.model.
FieldDefinition
Gets the join information for this field.
getFieldName()
- Method in class ijgen.generator.model.
FieldDefinition
Gets the name of the field.
getFieldType()
- Method in class ijgen.generator.model.
FieldDefinition
Gets the field type.
getFileFilter()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
getFileFilter()
- Method in class ijgen.generator.engine.generators.
MultipleDefinitionsTemplateGenerator
getFileFilter()
- Method in class ijgen.generator.engine.generators.
SingleDefinitionTemplateGenerator
getFileFilter()
- Method in class ijgen.generator.engine.
TemplateGenerator
Abstract method that forces successors of this class to specify extension of the template files that has to be processed.
getGeneratedClassName(String)
- Method in class ijgen.generator.model.
ClassDefinition
Gets the name of the class that should be used in the generated artifacts.
getGeneratedExtension()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
getGeneratedExtension()
- Method in class ijgen.generator.engine.generators.
MultipleDefinitionsTemplateGenerator
getGeneratedExtension()
- Method in class ijgen.generator.engine.generators.
SingleDefinitionTemplateGenerator
getGeneratedExtension()
- Method in class ijgen.generator.engine.
TemplateGenerator
Abstract method that forces successors of this class to specify the file extension which will be received by the generated artifacts.
getGeneratedExtension()
- Method in class ijgen.generator.params.
GeneratorType
Gets extension of produced artifacts by generator.
getGeneratedLayersFileNamesSuffixes()
- Method in class ijgen.generator.model.
ClassDefinition
Gets the map that holds a information about suffixes that has to be appended to the generated artifacts for the specified templates.
getGenerators()
- Method in class ijgen.generator.util.
CommandLineParser
Gets the list of generators that will be executed.
getGeneratorTypes()
- Method in class ijgen.generator.params.
GlobalSettings
Gets list of generators that has to be executed.
getGenericType()
- Method in class ijgen.generator.model.
FieldDefinition
Gets the generic type of the field (if any)
getHQLDialect()
- Method in class ijgen.generator.db.impl.
MySQLJavaToDBMapping
getHQLDialect()
- Method in interface ijgen.generator.db.
JavaToDBMapping
Returns dialect that will be used by the Hibernate Query Language
getInstance()
- Static method in class ijgen.generator.util.
TemplateUtils
Factory method responsible for providing an instance of class TemplateUtils.
getJavaToDBMapping(String)
- Static method in class ijgen.generator.db.
JavaToDBMappingFactory
Factory method used to control instantiation of JavaToDBMapping instances depending on database type
getJoinColumn()
- Method in class ijgen.generator.model.
FieldJoinInformation
Gets the join column
getJoinTable()
- Method in class ijgen.generator.model.
FieldJoinInformation
Gets the join table
getJoinTableName(String, String)
- Method in class ijgen.generator.util.
TemplateUtils
Gets name of the join table based on the class name and the referenced field
getMaxLength()
- Method in class ijgen.generator.model.
FieldConstraints
Sets the maximum length of the fields.
getMinLength()
- Method in class ijgen.generator.model.
FieldConstraints
Gets the minimum length of the fields.
getMode()
- Method in class ijgen.generator.engine.
Generator
Gets the type of model definitions.
getMode()
- Method in class ijgen.generator.util.
CommandLineParser
Gets mode of the generator.
getModelDefinitionExtension()
- Method in class ijgen.generator.engine.parser.java.
JavaModelDefinitionsLoader
Abstract method that should be overridden by all the successors of this class.
getModelDefinitionExtension()
- Method in class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Abstract method that should be overridden by all the successors of this class.
getModelDefinitionExtension()
- Method in class ijgen.generator.engine.parser.xml.
XmlModelsDefinitionsLoader
Abstract method that should be overridden by all the successors of this class.
getModelDefinitionsDirectory()
- Method in class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Gets directory where model definitions are stored.
getModelDefinitionsLoader(ModelDefinitionLoaderType, String)
- Static method in class ijgen.generator.engine.parser.
ModelDefinitionsLoaderFactory
Gets a cached instance for the ModelDefinitionsLoader.
getModelFiles()
- Method in class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Gets a list of files contained in the specified folder.
getModels()
- Method in class ijgen.generator.util.
CommandLineParser
Gets the path to the directory where java/xml models are stored.
getModelsDirectory()
- Method in class ijgen.generator.engine.
Generator
Gets full path of the directory where class definitions stored.
getModelsDirectory()
- Method in class ijgen.generator.params.
Path
Gets the directory where the models are stored.
getOutputDirectory()
- Method in class ijgen.generator.params.
GeneratorType
Gets output directory for this generator.
getOutputPath()
- Method in class ijgen.generator.engine.
TemplateGenerator
Gets the path to the directory where generated artifacts will be stored.
getPackageName()
- Method in class ijgen.generator.model.
ClassDefinition
Gets the name of the package for generated artifacts for this class
getPassword()
- Method in class ijgen.generator.params.
Database
Gets database password.
getPath()
- Method in class ijgen.generator.params.
GlobalSettings
Gets paths settings.
getRegExpRule()
- Method in class ijgen.generator.model.
FieldConstraints
Gets the regular expression validation rule for the field.
getRelationMappingString(FieldDefinition, ClassDefinition)
- Method in class ijgen.generator.util.
TemplateUtils
Gets string for JPA annotation responsible for relation between the classDefinition and the relation info in fieldDef
getRelationType()
- Method in class ijgen.generator.model.
FieldJoinInformation
Gets the relation type.
getSkipLayers()
- Method in class ijgen.generator.model.
ClassDefinition
Gets a list of template names that has to be skipped by the generator for this class.
getSourceMode()
- Method in class ijgen.generator.ant.
GeneratorTask
Gets the model definitions types.
getTableName()
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
getTemplateFileFilter()
- Method in class ijgen.generator.params.
GeneratorType
Gets extension of templates processed by this generator.
getTemplateFiles()
- Method in class ijgen.generator.engine.
TemplateGenerator
Gets cached instance of template files.
getTemplateName()
- Method in class ijgen.generator.params.
GeneratorContext
Gets name of the template that is currently processed by the generator
getTemplates()
- Method in class ijgen.generator.util.
CommandLineParser
Gets the path to the directory where templates are stored.
getTemplatesDirectory()
- Method in class ijgen.generator.engine.
Generator
Gets the root directory where where the template files for all generators are stored.
getTemplatesDirectory()
- Method in class ijgen.generator.params.
Path
Gets the directory where the templates are stored.
getUrl()
- Method in class ijgen.generator.params.
Database
Gets database url.
getUsername()
- Method in class ijgen.generator.params.
Database
Gets database username.
getVelocityTemplate(File)
- Method in class ijgen.generator.engine.
TemplateGenerator
Creates a velocity template from the specified file which contains the path to the actual resource containing the template.
GLOBAL_SETTINGS_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which instance of GlobalSettings class is set in the velocity context
GlobalSettings
- Class in
ijgen.generator.params
Object containing all the settings that are required in order generator to be started.
GlobalSettings()
- Constructor for class ijgen.generator.params.
GlobalSettings
Default constructor.
GlobalSettings(Database, Path, List<GeneratorType>)
- Constructor for class ijgen.generator.params.
GlobalSettings
Constructor with arguments.
I
IJGen
- Class in
ijgen.generator.app
Class that runs the generator from console context.
IJGen()
- Constructor for class ijgen.generator.app.
IJGen
ijgen.generator.annotations
- package ijgen.generator.annotations
ijgen.generator.ant
- package ijgen.generator.ant
ijgen.generator.app
- package ijgen.generator.app
ijgen.generator.db
- package ijgen.generator.db
ijgen.generator.db.impl
- package ijgen.generator.db.impl
ijgen.generator.engine
- package ijgen.generator.engine
ijgen.generator.engine.generators
- package ijgen.generator.engine.generators
ijgen.generator.engine.parser
- package ijgen.generator.engine.parser
ijgen.generator.engine.parser.java
- package ijgen.generator.engine.parser.java
ijgen.generator.engine.parser.xml
- package ijgen.generator.engine.parser.xml
ijgen.generator.model
- package ijgen.generator.model
ijgen.generator.params
- package ijgen.generator.params
ijgen.generator.util
- package ijgen.generator.util
isPersisted()
- Method in class ijgen.generator.model.
FieldDefinition
Gets whether the field is persisted.
isPrimary()
- Method in class ijgen.generator.model.
FieldDefinition
Gets whether the field is primary.
isRequired()
- Method in class ijgen.generator.model.
FieldConstraints
Gets whether the field is required.
isTransientField()
- Method in class ijgen.generator.model.
FieldDefinition
Gets whether the field is transient.
isUserExposed()
- Method in class ijgen.generator.model.
FieldDefinition
Gets whether the field has to be visible by the user.
J
JavaModelDefinitionsLoader
- Class in
ijgen.generator.engine.parser.java
Class responsible for scanning annotated java model files and loading meta information into corresponding object structure used by generator.
JavaModelDefinitionsLoader(String)
- Constructor for class ijgen.generator.engine.parser.java.
JavaModelDefinitionsLoader
JavaToDBMapping
- Interface in
ijgen.generator.db
Interface representing java to database data types.
JavaToDBMappingFactory
- Class in
ijgen.generator.db
Factory class used to control instantiation of JavaToDBMapping instances depending on database type.
JavaToDBMappingFactory()
- Constructor for class ijgen.generator.db.
JavaToDBMappingFactory
L
LINK_TABLES_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which instance of LinkTableInfo class is set in the velocity context
loadFilesRecursively(File, List<File>)
- Static method in class ijgen.generator.util.
GeneratorUtils
Loads all the files that are present in a directory, recursively.
loadTemplateFiles()
- Method in class ijgen.generator.engine.
Generator
Loads all the template files recursively from the templatesDirectory folder
M
main(String[])
- Static method in class ijgen.generator.app.
IJGen
ModelDefinitionLoaderType
- Enum in
ijgen.generator.engine.parser
Annotation that contains the possible model definition types.
ModelDefinitionsLoader
- Class in
ijgen.generator.engine.parser
Abstract class that represents a loader of model definitions.
ModelDefinitionsLoader(String)
- Constructor for class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Creates an instance, accessible only for successors.
ModelDefinitionsLoaderFactory
- Class in
ijgen.generator.engine.parser
Factory class that is responsible for creation of the appropriate instances of ModelDefinitionsLoader implementations.
ModelDefinitionsLoaderFactory()
- Constructor for class ijgen.generator.engine.parser.
ModelDefinitionsLoaderFactory
MultipleDefinitionsTemplateGenerator
- Class in
ijgen.generator.engine.generators
MultipleDefinitionsTemplateGenerator()
- Constructor for class ijgen.generator.engine.generators.
MultipleDefinitionsTemplateGenerator
MySQLJavaToDBMapping
- Class in
ijgen.generator.db.impl
Implementation of javaToDBMapping interface for mysql database.
MySQLJavaToDBMapping()
- Constructor for class ijgen.generator.db.impl.
MySQLJavaToDBMapping
Default constructor.
N
NonPersisted
- Annotation Type in
ijgen.generator.annotations
Annotation which marks that annotated fiels should not be persisted.
O
outputPath
- Variable in class ijgen.generator.engine.
TemplateGenerator
Variable specifying the output path for the generated artifacts
P
PackageDesc
- Annotation Type in
ijgen.generator.annotations
Annotation that carries information about package name of the domain class.
Path
- Class in
ijgen.generator.params
Path()
- Constructor for class ijgen.generator.params.
Path
Persisted
- Annotation Type in
ijgen.generator.annotations
Annotation which shows that annotated field has to be persisted.
prepareContext(String)
- Method in class ijgen.generator.engine.
TemplateGenerator
Prepares instance of VelocityContext and populates it with the standard attributes
prepareVelocityEngine(String)
- Static method in class ijgen.generator.util.
GeneratorUtils
Gets an instance of VelocityEngine for the specified directory.
Primary
- Annotation Type in
ijgen.generator.annotations
Annotation indicating that marked field is a primary key for this class.
R
readFirstFileLine(String)
- Method in class ijgen.generator.engine.
TemplateGenerator
Simple utility method that just reads the first line of the file specified as a parameter.
Relation
- Annotation Type in
ijgen.generator.annotations
Annotation which describes relation between classes.
RelationType
- Enum in
ijgen.generator.annotations
Enumeration for possible relation types between domain object.
RESOURCE_LOADER_PATH
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the system property that is set to the velocity engine to locate the templates
S
setClassDefinitions(List<ClassDefinition>)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets list of model definitions that will be processed by the generator.
setClassName(String)
- Method in class ijgen.generator.model.
ClassDefinition
Sets the name of the class.
setClassName(String)
- Method in class ijgen.generator.params.
GeneratorType
Sets class name of the generator.
setColumnName(String)
- Method in class ijgen.generator.model.
FieldDefinition
Sets the column name that is used to map this field to database.
setCustomLine(String)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets the string which indicates that file is customized and should not be overridden.
setCustomLine(String)
- Method in class ijgen.generator.params.
GeneratorType
Sets line describing that file is customized.
setDatabase(Database)
- Method in class ijgen.generator.params.
GlobalSettings
Sets database settings.
setDatabaseTemplateName(String)
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
setDatabaseType(String)
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator
setDatabaseType(String)
- Method in class ijgen.generator.params.
Database
Sets database type.
setDbTable(String)
- Method in class ijgen.generator.model.
ClassDefinition
Sets the name of the database table which will be used for persisting this class.
setDriver(String)
- Method in class ijgen.generator.params.
Database
Sets database driver.
setField1Name(String)
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
setField2Name(String)
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
setFieldConstraints(FieldConstraints)
- Method in class ijgen.generator.model.
FieldDefinition
Sets the constraints for this field.
setFieldJoinInformation(FieldJoinInformation)
- Method in class ijgen.generator.model.
FieldDefinition
Sets the join information for this field.
setFieldName(String)
- Method in class ijgen.generator.model.
FieldDefinition
Sets the name of the field.
setFieldType(String)
- Method in class ijgen.generator.model.
FieldDefinition
Sets the field type.
setFileFilter(String)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets the extension of template files that should be processed by this generator.
setGeneratedExtension(String)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets the extension of files produced by this generator.
setGeneratedExtension(String)
- Method in class ijgen.generator.params.
GeneratorType
Sets extension of produced artifacts by generator.
setGeneratedLayersFileNamesSuffixes(Map<String, String>)
- Method in class ijgen.generator.model.
ClassDefinition
Gets the map that holds a information about suffixes that has to be appended to the generated artifacts for the specified templates.
setGeneratorTypes(List<GeneratorType>)
- Method in class ijgen.generator.params.
GlobalSettings
Sets list of generators that has to be executed.
setGenericType(String)
- Method in class ijgen.generator.model.
FieldDefinition
Sets the generic type of the field.
setGlobalSettings(GlobalSettings)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets the global settings object.
setJoinColumn(String)
- Method in class ijgen.generator.model.
FieldJoinInformation
Sets the join column
setJoinTable(String)
- Method in class ijgen.generator.model.
FieldJoinInformation
Sets the join table
setMaxLength(int)
- Method in class ijgen.generator.model.
FieldConstraints
Sets the maximum length of the fields.
setMinLength(int)
- Method in class ijgen.generator.model.
FieldConstraints
Sets the minimum length of the fields.
setMode(ModelDefinitionLoaderType)
- Method in class ijgen.generator.engine.
Generator
Sets the type of model definitions.
setModelDefinitionsDirectory(String)
- Method in class ijgen.generator.engine.parser.
ModelDefinitionsLoader
Sets the directory where model definitions are stored.
setModelsDirectory(String)
- Method in class ijgen.generator.engine.
Generator
Sets the directory where class definitions are stored.
setModelsDirectory(String)
- Method in class ijgen.generator.params.
Path
Sets the directory where the models are stored.
setOutputDirectory(String)
- Method in class ijgen.generator.params.
GeneratorType
Sets output directory for this generator.
setOutputPath(String)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets the path to the directory where generated artifacts will be stored.
setPackageName(String)
- Method in class ijgen.generator.model.
ClassDefinition
Sets the name of the package for generated artifacts for this class
setPassword(String)
- Method in class ijgen.generator.params.
Database
Sets database password.
setPath(Path)
- Method in class ijgen.generator.params.
GlobalSettings
Sets path settings.
setPersisted(boolean)
- Method in class ijgen.generator.model.
FieldDefinition
Sets whether the field is persisted.
setPrimary(boolean)
- Method in class ijgen.generator.model.
FieldDefinition
Sets whether the field is primary.
setRegExpRule(String)
- Method in class ijgen.generator.model.
FieldConstraints
Sets the regular expression validation rule for the field.
setRelationType(RelationType)
- Method in class ijgen.generator.model.
FieldJoinInformation
Sets the relation type.
setRequired(boolean)
- Method in class ijgen.generator.model.
FieldConstraints
Sets whether the field is required.
setSkipLayers(List<String>)
- Method in class ijgen.generator.model.
ClassDefinition
Sets a list of template names that has to be skipped by the generator for this class.
setSourceMode(String)
- Method in class ijgen.generator.ant.
GeneratorTask
Sets the type of model definitions TODO: validate input fields
setTableName(String)
- Method in class ijgen.generator.engine.generators.
DbCreateTemplateGenerator.LinkTableInfo
setTemplateFileFilter(String)
- Method in class ijgen.generator.params.
GeneratorType
Sets extension of templates processed by this generator.
setTemplateName(String)
- Method in class ijgen.generator.params.
GeneratorContext
Sets name of the template that is currently processed by the generator
setTemplatesCache(Map<String, File>)
- Method in class ijgen.generator.engine.
TemplateGenerator
Sets the cache with template files.
setTemplatesDirectory(String)
- Method in class ijgen.generator.engine.
Generator
Sets the root directory where all the template files are stored.
setTemplatesDirectory(String)
- Method in class ijgen.generator.params.
Path
Sets the directory where the templates are stored.
setTransientField(boolean)
- Method in class ijgen.generator.model.
FieldDefinition
Sets whether the field is transient.
setUrl(String)
- Method in class ijgen.generator.params.
Database
Sets database url.
setUserExposed(boolean)
- Method in class ijgen.generator.model.
FieldDefinition
Sets whether the field has to be visible by the user.
setUsername(String)
- Method in class ijgen.generator.params.
Database
Sets database username.
SingleDefinitionTemplateGenerator
- Class in
ijgen.generator.engine.generators
SingleDefinitionTemplateGenerator()
- Constructor for class ijgen.generator.engine.generators.
SingleDefinitionTemplateGenerator
start()
- Method in class ijgen.generator.engine.
Generator
Walks through all the defined generators in templateGenerators property and calls their implementations of generate method.
T
TEMPLATE_UTILS_KEY
- Static variable in interface ijgen.generator.util.
GeneratorConstants
Name of the key under which instance of TemplateUtils class is set in the velocity context
TemplateGenerator
- Class in
ijgen.generator.engine
Abstract class representing a generator working on a set of template files.
TemplateGenerator()
- Constructor for class ijgen.generator.engine.
TemplateGenerator
Default constructor.
TemplateUtils
- Class in
ijgen.generator.util
toString()
- Method in enum ijgen.generator.engine.parser.
ModelDefinitionLoaderType
toString()
- Method in class ijgen.generator.model.
ClassDefinition
toString()
- Method in class ijgen.generator.model.
FieldDefinition
U
UserExposed
- Annotation Type in
ijgen.generator.annotations
Annotation indicating that annotated field has to be visible for the user.
V
valueOf(String)
- Static method in enum ijgen.generator.annotations.
RelationType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum ijgen.generator.engine.parser.
ModelDefinitionLoaderType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum ijgen.generator.annotations.
RelationType
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum ijgen.generator.engine.parser.
ModelDefinitionLoaderType
Returns an array containing the constants of this enum type, in the order they are declared.
W
writeToFile(ClassDefinition, String, boolean, byte[])
- Method in class ijgen.generator.engine.
TemplateGenerator
Writes to a physical file produced artifact by the generator.
X
XmlModelsDefinitionsLoader
- Class in
ijgen.generator.engine.parser.xml
Class responsible for scanning xml model files and loading meta information into corresponding object structure used by generator.
XmlModelsDefinitionsLoader(String)
- Constructor for class ijgen.generator.engine.parser.xml.
XmlModelsDefinitionsLoader
A
C
D
E
F
G
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010 Detelin Zlatev. All Rights Reserved.