All Classes and Interfaces
Class
Description
The base class for
PluggableDefaultValueProvider
s providing dates.The abstract super class for all RedG main classes.
The class that manages the templates and does all the code generation
Class that provides a method to extract a
ColumnModel
from a ColumnModel
.Model for usage in the stringtemplate template
A
PluggableDefaultValueProvider
that delegates the value request to a provided PluggableDefaultValueProvider
if the table and column match
a specified regular expression.Provides conditions like equals, not equals, contains and matchesRegex for usage with the Builder
A
PluggableDefaultValueProvider
that returns a constant string.A
PluggableDefaultValueProvider
that provides a constant object for every field with the exact type.A
PluggableDefaultValueProvider
always returning the current date.A conditional provider that is even more flexible than the
ConditionalProvider
Simple wrapper for the extractor connection information
A class that provided useful methods for connecting to a extractor, executing SQL scripts and analyzing the extractor.
A helper class to get all precision variants of a SQL data type.
Common interface for all data type providers, that are able to decide the java data type for a database column
The default data type provider, used if nothing else is specified
A
PluggableDefaultValueProvider
returning the default value from a DefaultDefaultValueStrategy
.A simple default value strategy, returning empty or 0 values for the most common data types.
RedG's default dummy factory.
The default name provider for RedG
Default transformer that does no transformation.
The default
SQLValuesFormatter
.Gets thrown when a dummy could not be created.
The interface for RedG's dummy mechanism.
Exception indicating that an entity that was presumed to be in the database could not be found.
Contains utility methods for file/file-system operations
Provides a method to extract model data about a single foreign key.
Model for usage in the stringtemplate template
Display help information on redg-maven-plugin.
Call
Call
mvn redg:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.A
PluggableDefaultValueProvider
that provides incrementing numbers.Exception indicating that an entity could not be inserted into a database.
This Map dynamically transforms Strings and escapes double-quotes.
This Map dynamically transforms Strings and escapes double-quotes.
A data type provider that reads the types from a json file.
An
ExplicitAttributeDecider
reading explicit attribute information from a JSON file.The class containing all the static matchers for the attributes that can be checked with the builder
This class provides methods to extract a complete list of
TableModel
s from metadata information provided by schemacrawler.This is a name provider that takes the final name from a list of supplied providers.
This is the interface used for generating the class/method/variable names for the code generation.
Contains static helper methods for converting SQL names to java names
Simple
PrintWriter
that does not write to anywhereA
PluggableDefaultValueProvider
that is capable of providing numbers.The interface to be used with the
PluggableDefaultValueStrategy
.A
DefaultValueStrategy
that implements a simple plugin system.Interface used to transform java objects before adding them to the prepared statement.
This is a simple builder that allows you to easily create a customized RedG instance.
This is the interface for every entity that can be inserted into a database by RedG.
The main class for the RedG generator.
The MOJO class for the RedG maven plugin
This is an
EntityModel
that basically contains a reference to a complete EntityModel
.Tool to run extractor scripts
A
PluggableDefaultValueProvider
that provides a static date.A
PluggableDefaultValueProvider
that provides a static number.This class provides methods to extract a
TableModel
from a Table
.Model for usage in the stringtemplate template
The JSON type mapping definition for mapping with Jackson
The static util class that generate the JSON representation of the object graph
A data type provider that reads the types from a json file.