All Classes and Interfaces
Class
Description
The base class for
PluggableDefaultValueProviders providing dates.The abstract super class for all RedG main classes.
The class that manages the templates and does all the code generation
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
ConditionalProviderSimple wrapper for the extractor connection information
Utility class to detect the database type from a DataSource.
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
Model for usage in the stringtemplate template
Generic SchemaInfoRetriever implementation for databases that don't have a specific implementation.
SchemaInfoRetriever implementation for H2 database.
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 is a name provider that takes the final name from a list of supplied providers.
Mutable implementation of Table that allows adding foreign keys after instantiation.
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
A
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.Transforms a SchemaInspectionResult (from redg-schema-inspection) into a List of TableModel (for redg-generator).
Tool to run extractor scripts
A
PluggableDefaultValueProvider that provides a static date.A
PluggableDefaultValueProvider that provides a static number.Model for usage in the stringtemplate template
Manages shared testcontainers across the module.
Maps JDBC types to Java classes.
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.