Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDateProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
The base class for
PluggableDefaultValueProviders providing dates. - AbstractDateProvider() - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.AbstractDateProvider
- AbstractRedG - Class in de.yamass.redg.runtime
-
The abstract super class for all RedG main classes.
- AbstractRedG() - Constructor for class de.yamass.redg.runtime.AbstractRedG
- ADD_NEW - Enum constant in enum class de.yamass.redg.extractor.generationmodes.EntityInclusionMode
- addColumn(Column) - Method in class de.yamass.redg.schema.model.MutableTable
-
Adds a column to this table.
- addEntity(RedGEntity) - Method in class de.yamass.redg.runtime.AbstractRedG
- addIncomingForeignKey(ForeignKey) - Method in class de.yamass.redg.schema.model.MutableTable
- addNotNullRef(EntityModel) - Method in class de.yamass.redg.extractor.model.EntityModel
- addNotNullRef(EntityModel) - Method in class de.yamass.redg.extractor.model.ReferencingEntityModel
- addNullableRef(String, EntityModel) - Method in class de.yamass.redg.extractor.model.EntityModel
- addOutgoingForeignKey(ForeignKey) - Method in class de.yamass.redg.schema.model.MutableTable
- addPrimaryKeyColumn(Column) - Method in class de.yamass.redg.schema.model.MutableTable
-
Adds a column to the primary key columns list.
- addProvider(PluggableDefaultValueProvider) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.PluggableDefaultValueStrategy
-
Adds a new provider to the end of the list of providers.
- addValues(String, EntityModel.ValueModel) - Method in class de.yamass.redg.extractor.model.EntityModel
- allOf(Predicate<ColumnModel>...) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
-
Deprecated.
- and(Predicate<ColumnModel>) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- andColumnNameMatches(String) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- andTableNameMatches(String) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- anyOf(Predicate<ColumnModel>...) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
-
Deprecated.Use
Predicate.or(Predicate)instead - appendProvider(NameProvider) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
-
Adds a name provider to the end of the internal list.
- AttributeMetaInfo - Class in de.yamass.redg.runtime
- AttributeMetaInfo(String, String, String, String, int, Class, boolean) - Constructor for class de.yamass.redg.runtime.AttributeMetaInfo
B
- build() - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder
- build() - Method in class de.yamass.redg.runtime.RedGBuilder
-
Returns the customized RedG main class
- byDatabaseType(DatabaseType) - Static method in interface de.yamass.redg.schema.vendor.SchemaInfoRetriever
C
- category() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns the value of the
categoryrecord component. - CHECK - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- ClassAvailabilityChecker - Class in de.yamass.redg.plugin.util
- ClassAvailabilityChecker(String) - Constructor for class de.yamass.redg.plugin.util.ClassAvailabilityChecker
- code() - Method in enum class de.yamass.redg.schema.model.ConstraintType
- CodeGenerator - Class in de.yamass.redg.extractor
- CodeGenerator - Class in de.yamass.redg.generator
-
The class that manages the templates and does all the code generation
- CodeGenerator() - Constructor for class de.yamass.redg.extractor.CodeGenerator
-
Creates a new code generator using the default 'extractor-templates.stg' template file
- CodeGenerator() - Constructor for class de.yamass.redg.generator.CodeGenerator
-
Creates a new code generator using the default 'templates.stg' template file and escaping of identifiers conforming to the SQL standard.
- CodeGenerator(String) - Constructor for class de.yamass.redg.extractor.CodeGenerator
-
Creates a new code generator using the passed template resource.
- CodeGenerator(String) - Constructor for class de.yamass.redg.generator.CodeGenerator
-
Creates a new code generator using the passed template resource.
- CodeGenerator(String, String) - Constructor for class de.yamass.redg.generator.CodeGenerator
-
Creates a new code generator using the passed template resource.
- Column - Record Class in de.yamass.redg.schema.model
- Column(String, DataType, boolean, boolean, Table) - Constructor for record class de.yamass.redg.schema.model.Column
-
Creates an instance of a
Columnrecord class. - ColumnModel - Class in de.yamass.redg.models
-
Model for usage in the stringtemplate template
- ColumnModel() - Constructor for class de.yamass.redg.models.ColumnModel
- columnName(Predicate<String>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- columns() - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Returns the value of the
columnsrecord component. - columns() - Method in class de.yamass.redg.schema.model.MutableTable
- columns() - Method in interface de.yamass.redg.schema.model.Table
- ColumnTypeMapping - Class in de.yamass.redg.generator.extractor.datatypeprovider.xml
- ColumnTypeMapping() - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.ColumnTypeMapping
- ColumnTypeMapping(String, String) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.ColumnTypeMapping
- combine(List<SchemaInspectionResult>) - Static method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Combines multiple SchemaInspectionResults into a single result.
- Condition() - Constructor for class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- ConditionalProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat delegates the value request to a providedPluggableDefaultValueProviderif the table and column match a specified regular expression. - ConditionalProvider(PluggableDefaultValueProvider, String, String, String) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.ConditionalProvider
- Conditions - Class in de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers
-
Provides conditions like equals, not equals, contains and matchesRegex for usage with the Builder
- ConsoleRunner - Class in de.yamass.redg.extractor
- ConsoleRunner() - Constructor for class de.yamass.redg.extractor.ConsoleRunner
- Constants - Class in de.yamass.redg.generator
- Constants() - Constructor for class de.yamass.redg.generator.Constants
- ConstantStringProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat returns a constant string. - ConstantStringProvider(String) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.ConstantStringProvider
- ConstantValueProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat provides a constant object for every field with the exact type. - ConstantValueProvider(Object) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.ConstantValueProvider
- Constraint - Record Class in de.yamass.redg.schema.model
- Constraint(String, String, ConstraintType, String, boolean) - Constructor for record class de.yamass.redg.schema.model.Constraint
-
Creates an instance of a
Constraintrecord class. - constraints() - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Returns the value of the
constraintsrecord component. - ConstraintType - Enum Class in de.yamass.redg.schema.model
- contains(String) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Conditions
- containsKey(Object) - Method in class de.yamass.redg.generator.utils.JavaSqlStringEscapeMap
- containsKey(Object) - Method in class de.yamass.redg.generator.utils.JavaStringEscapeMap
- ConvenienceSetterConfig - Class in de.yamass.redg.plugin.config
- ConvenienceSetterConfig() - Constructor for class de.yamass.redg.plugin.config.ConvenienceSetterConfig
- ConvenienceSetterConfig(String, String, String) - Constructor for class de.yamass.redg.plugin.config.ConvenienceSetterConfig
- ConvenienceSetterModel - Class in de.yamass.redg.models
- ConvenienceSetterModel(String, String) - Constructor for class de.yamass.redg.models.ConvenienceSetterModel
- ConvenienceSetterProvider - Interface in de.yamass.redg.generator.extractor.conveniencesetterprovider
- convertDate(String, Class<T>) - Static method in class de.yamass.redg.runtime.util.DateConverter
- convertDate(Date, Class<T>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.AbstractDateProvider
- convertDateFallbackToDefaultTimeZone(String, Class<T>) - Static method in class de.yamass.redg.runtime.util.DateConverter
- convertNumber(BigDecimal, Class<T>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.NumberProvider
- convertToJavaName(String) - Static method in class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
- create(JdbcDatabaseContainer<?>) - Static method in class de.yamass.redg.testing.DataSourceFactory
- createPackageFolderStructure(Path, String) - Static method in class de.yamass.redg.generator.RedGGenerator
- CurrentDateProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProvideralways returning the current date. - CurrentDateProvider() - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.CurrentDateProvider
- CustomConditionalProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A conditional provider that is even more flexible than the
ConditionalProvider - CustomConditionalProvider(Predicate<ColumnModel>, PluggableDefaultValueProvider) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.CustomConditionalProvider
D
- DatabaseConnectionParameter - Class in de.yamass.redg.generator.utils
-
Simple wrapper for the extractor connection information
- DatabaseConnectionParameter(String, String, String, String) - Constructor for class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- Databases - Annotation Interface in de.yamass.redg.testing
- DatabaseType - Enum Class in de.yamass.redg
- DatabaseTypeDetector - Class in de.yamass.redg.generator.utils
-
Utility class to detect the database type from a DataSource.
- DatabaseTypeDetector() - Constructor for class de.yamass.redg.generator.utils.DatabaseTypeDetector
- DataExtractor - Class in de.yamass.redg.extractor
- DataExtractor() - Constructor for class de.yamass.redg.extractor.DataExtractor
- DataSourceFactory - Class in de.yamass.redg.testing
- DataType - Interface in de.yamass.redg.schema.model
- DataTypeModel - Class in de.yamass.redg.models
- DataTypeModel(String, Integer, boolean) - Constructor for class de.yamass.redg.models.DataTypeModel
- DataTypeProvider - Interface in de.yamass.redg.generator.extractor.datatypeprovider
-
Common interface for all data type providers, that are able to decide the java data type for a database column
- DateConverter - Class in de.yamass.redg.runtime.util
- DbContext - Annotation Interface in de.yamass.redg.testing
- DbTest - Annotation Interface in de.yamass.redg.testing
- de.yamass.redg - package de.yamass.redg
- de.yamass.redg_maven_plugin - package de.yamass.redg_maven_plugin
- de.yamass.redg.extractor - package de.yamass.redg.extractor
- de.yamass.redg.extractor.filter - package de.yamass.redg.extractor.filter
- de.yamass.redg.extractor.generationmodes - package de.yamass.redg.extractor.generationmodes
- de.yamass.redg.extractor.model - package de.yamass.redg.extractor.model
- de.yamass.redg.extractor.model.entitynameprovider - package de.yamass.redg.extractor.model.entitynameprovider
- de.yamass.redg.extractor.model.representationprovider - package de.yamass.redg.extractor.model.representationprovider
- de.yamass.redg.extractor.tablemodelextractor - package de.yamass.redg.extractor.tablemodelextractor
- de.yamass.redg.generator - package de.yamass.redg.generator
- de.yamass.redg.generator.exceptions - package de.yamass.redg.generator.exceptions
- de.yamass.redg.generator.extractor - package de.yamass.redg.generator.extractor
- de.yamass.redg.generator.extractor.conveniencesetterprovider - package de.yamass.redg.generator.extractor.conveniencesetterprovider
- de.yamass.redg.generator.extractor.datatypeprovider - package de.yamass.redg.generator.extractor.datatypeprovider
- de.yamass.redg.generator.extractor.datatypeprovider.json - package de.yamass.redg.generator.extractor.datatypeprovider.json
- de.yamass.redg.generator.extractor.datatypeprovider.xml - package de.yamass.redg.generator.extractor.datatypeprovider.xml
- de.yamass.redg.generator.extractor.explicitattributedecider - package de.yamass.redg.generator.extractor.explicitattributedecider
- de.yamass.redg.generator.extractor.nameprovider - package de.yamass.redg.generator.extractor.nameprovider
- de.yamass.redg.generator.extractor.nameprovider.json - package de.yamass.redg.generator.extractor.nameprovider.json
- de.yamass.redg.generator.utils - package de.yamass.redg.generator.utils
- de.yamass.redg.jpa - package de.yamass.redg.jpa
- de.yamass.redg.models - package de.yamass.redg.models
- de.yamass.redg.plugin - package de.yamass.redg.plugin
- de.yamass.redg.plugin.config - package de.yamass.redg.plugin.config
- de.yamass.redg.plugin.util - package de.yamass.redg.plugin.util
- de.yamass.redg.runtime - package de.yamass.redg.runtime
- de.yamass.redg.runtime.defaultvalues - package de.yamass.redg.runtime.defaultvalues
- de.yamass.redg.runtime.defaultvalues.pluggable - package de.yamass.redg.runtime.defaultvalues.pluggable
- de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers - package de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers
- de.yamass.redg.runtime.dummy - package de.yamass.redg.runtime.dummy
- de.yamass.redg.runtime.insertvalues - package de.yamass.redg.runtime.insertvalues
- de.yamass.redg.runtime.jdbc - package de.yamass.redg.runtime.jdbc
- de.yamass.redg.runtime.transformer - package de.yamass.redg.runtime.transformer
- de.yamass.redg.runtime.util - package de.yamass.redg.runtime.util
- de.yamass.redg.runtime.visualization - package de.yamass.redg.runtime.visualization
- de.yamass.redg.schema.inspector - package de.yamass.redg.schema.inspector
- de.yamass.redg.schema.model - package de.yamass.redg.schema.model
- de.yamass.redg.schema.vendor - package de.yamass.redg.schema.vendor
- de.yamass.redg.testing - package de.yamass.redg.testing
- de.yamass.redg.util - package de.yamass.redg.util
- DEFAULT_CLASS_PREFIX - Static variable in class de.yamass.redg.generator.Constants
- DEFAULT_TARGET_PACKAGE - Static variable in class de.yamass.redg.generator.Constants
- DefaultDataType - Class in de.yamass.redg.schema.model
- DefaultDataType(String, JDBCType, Integer, DataType, boolean, int) - Constructor for class de.yamass.redg.schema.model.DefaultDataType
- DefaultDataType(String, JDBCType, Integer, DataType, boolean, int, int, int, int, boolean, boolean) - Constructor for class de.yamass.redg.schema.model.DefaultDataType
- DefaultDataType(String, JDBCType, Integer, DataType, boolean, int, int, int, int, boolean, boolean, List<String>) - Constructor for class de.yamass.redg.schema.model.DefaultDataType
- DefaultDataTypeProvider - Class in de.yamass.redg.generator.extractor.datatypeprovider
-
The default data type provider, used if nothing else is specified.
- DefaultDataTypeProvider() - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.DefaultDataTypeProvider
- DefaultDefaultValueProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderreturning the default value from aDefaultDefaultValueStrategy. - DefaultDefaultValueProvider() - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.DefaultDefaultValueProvider
- DefaultDefaultValueStrategy - Class in de.yamass.redg.runtime.defaultvalues
-
A simple default value strategy, returning empty or 0 values for the most common data types.
- DefaultDefaultValueStrategy() - Constructor for class de.yamass.redg.runtime.defaultvalues.DefaultDefaultValueStrategy
- DefaultDummyFactory - Class in de.yamass.redg.runtime.dummy
-
RedG's default dummy factory.
- DefaultDummyFactory() - Constructor for class de.yamass.redg.runtime.dummy.DefaultDummyFactory
- DefaultEntityNameProvider - Class in de.yamass.redg.extractor.model.entitynameprovider
- DefaultEntityNameProvider() - Constructor for class de.yamass.redg.extractor.model.entitynameprovider.DefaultEntityNameProvider
- DefaultExplicitAttributeDecider - Class in de.yamass.redg.generator.extractor.explicitattributedecider
- DefaultExplicitAttributeDecider() - Constructor for class de.yamass.redg.generator.extractor.explicitattributedecider.DefaultExplicitAttributeDecider
- DefaultJavaCodeRepresentationProvider - Class in de.yamass.redg.extractor.model.representationprovider
- DefaultJavaCodeRepresentationProvider() - Constructor for class de.yamass.redg.extractor.model.representationprovider.DefaultJavaCodeRepresentationProvider
- DefaultNameProvider - Class in de.yamass.redg.generator.extractor.nameprovider
-
The default name provider for RedG
- DefaultNameProvider() - Constructor for class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
- DefaultPreparedStatementParameterSetter - Class in de.yamass.redg.runtime.transformer
-
Default transformer that does no transformation.
- DefaultPreparedStatementParameterSetter() - Constructor for class de.yamass.redg.runtime.transformer.DefaultPreparedStatementParameterSetter
- DefaultSQLValuesFormatter - Class in de.yamass.redg.runtime.insertvalues
-
The default
SQLValuesFormatter. - DefaultSQLValuesFormatter() - Constructor for class de.yamass.redg.runtime.insertvalues.DefaultSQLValuesFormatter
- DefaultTypeMapping - Class in de.yamass.redg.generator.extractor.datatypeprovider.xml
- DefaultTypeMapping() - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.DefaultTypeMapping
- DefaultTypeMapping(String, String) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.DefaultTypeMapping
- DefaultValueStrategy - Interface in de.yamass.redg.runtime.defaultvalues
- DefaultValueStrategyBuilder - Class in de.yamass.redg.runtime.defaultvalues
- DefaultValueStrategyBuilder() - Constructor for class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder
- DefaultValueStrategyBuilder.Condition - Class in de.yamass.redg.runtime.defaultvalues
- definition() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns the value of the
definitionrecord component. - delimP - Static variable in class de.yamass.redg.util.ScriptRunner
-
regex to detect delimiter.
- DependencyAlreadyExcludedException - Exception in de.yamass.redg.extractor.generationmodes
- DependencyAlreadyExcludedException(EntityModel) - Constructor for exception de.yamass.redg.extractor.generationmodes.DependencyAlreadyExcludedException
- detectDatabaseType(DataSource) - Static method in class de.yamass.redg.generator.utils.DatabaseTypeDetector
-
Detects the database type from the given DataSource.
- distinctByKey(Function<? super T, ?>) - Static method in class de.yamass.redg.runtime.jdbc.RedGDatabaseUtil
-
Taken from http://stackoverflow.com/a/27872852
- DummyCreationException - Exception in de.yamass.redg.runtime.dummy
-
Gets thrown when a dummy could not be created.
- DummyCreationException(String) - Constructor for exception de.yamass.redg.runtime.dummy.DummyCreationException
- DummyCreationException(String, Throwable) - Constructor for exception de.yamass.redg.runtime.dummy.DummyCreationException
- DummyFactory - Interface in de.yamass.redg.runtime.dummy
-
The interface for RedG's dummy mechanism.
E
- EntityInclusionMode - Enum Class in de.yamass.redg.extractor.generationmodes
- EntityModel - Class in de.yamass.redg.extractor.model
- EntityModel(TableModel) - Constructor for class de.yamass.redg.extractor.model.EntityModel
- EntityModel(String, TableModel) - Constructor for class de.yamass.redg.extractor.model.EntityModel
- EntityModel.ValueModel - Class in de.yamass.redg.extractor.model
- EntityModel.ValueModel.ForeignKeyState - Enum Class in de.yamass.redg.extractor.model
- EntityModelSorter - Class in de.yamass.redg.extractor
- EntityModelSorter() - Constructor for class de.yamass.redg.extractor.EntityModelSorter
- EntityNameProvider - Interface in de.yamass.redg.extractor.model.entitynameprovider
- EntitySorter - Class in de.yamass.redg.runtime
- EntitySorter() - Constructor for class de.yamass.redg.runtime.EntitySorter
- entrySet() - Method in class de.yamass.redg.generator.utils.JavaSqlStringEscapeMap
- entrySet() - Method in class de.yamass.redg.generator.utils.JavaStringEscapeMap
- eq(T) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Conditions
- equals(Object) - Method in class de.yamass.redg.extractor.model.EntityModel.ValueModel
- equals(Object) - Method in record class de.yamass.redg.schema.model.Column
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.yamass.redg.schema.model.Constraint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Custom equals implementation that uses table qualified names instead of table equality.
- equals(Object) - Method in record class de.yamass.redg.schema.model.ForeignKeyColumn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.yamass.redg.schema.model.Udt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.yamass.redg.schema.model.UdtField
-
Indicates whether some other object is "equal to" this one.
- escapeQuotationMarks(String) - Static method in class de.yamass.redg.generator.utils.NameUtils
-
Deprecated.Should not be used anymore, see issue #8. Use escape-Map in template instead
- evaluate(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- EXCLUDE - Enum constant in enum class de.yamass.redg.extractor.generationmodes.EntityInclusionMode
- EXCLUSION - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- execute() - Method in class de.yamass.redg_maven_plugin.HelpMojo
- execute() - Method in class de.yamass.redg.plugin.RedGGeneratorMojo
- executeScript(DataSource, DatabaseType, String) - Static method in class de.yamass.redg.testing.SqlScripts
- executeScript(DataSource, Supplier<Reader>) - Static method in class de.yamass.redg.util.ScriptRunner
- executeScripts(DataSource, DatabaseType, List<String>) - Static method in class de.yamass.redg.testing.SqlScripts
- executeScripts(DataSource, File...) - Static method in class de.yamass.redg.util.ScriptRunner
-
Executes the SQL scripts specified in the
sqlScriptsparameter. - ExistingEntityModel - Class in de.yamass.redg.extractor.model
- ExistingEntityModel(TableModel) - Constructor for class de.yamass.redg.extractor.model.ExistingEntityModel
- ExistingEntryMissingException - Exception in de.yamass.redg.runtime
-
Exception indicating that an entity that was presumed to be in the database could not be found.
- ExistingEntryMissingException() - Constructor for exception de.yamass.redg.runtime.ExistingEntryMissingException
- ExistingEntryMissingException(String) - Constructor for exception de.yamass.redg.runtime.ExistingEntryMissingException
- ExistingEntryMissingException(String, Throwable) - Constructor for exception de.yamass.redg.runtime.ExistingEntryMissingException
- ExistingEntryMissingException(String, Throwable, boolean, boolean) - Constructor for exception de.yamass.redg.runtime.ExistingEntryMissingException
- ExistingEntryMissingException(Throwable) - Constructor for exception de.yamass.redg.runtime.ExistingEntryMissingException
- ExplicitAttributeDecider - Interface in de.yamass.redg.generator.extractor.explicitattributedecider
- extractAllData(Connection, List<TableModel>) - Method in class de.yamass.redg.extractor.DataExtractor
- extractAllData(DataSource, List<TableModel>) - Method in class de.yamass.redg.extractor.DataExtractor
- extractTableModelFromClasses(Path, String, String) - Static method in class de.yamass.redg.extractor.tablemodelextractor.TableModelExtractor
-
Extracts all
TableModels from the compiled RedG entity classes at the specified location. - extractTableModelsFromSourceCode(Path, String, String) - Static method in class de.yamass.redg.extractor.tablemodelextractor.TableModelExtractor
-
Extracts all
TableModels from the Java source code of the RedG entity classes at the specified location.
F
- fields() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns the value of the
fieldsrecord component. - FileUtils - Class in de.yamass.redg.generator.utils
-
Contains utility methods for file/file-system operations
- FileUtils() - Constructor for class de.yamass.redg.generator.utils.FileUtils
- findColumn(String) - Method in interface de.yamass.redg.schema.model.Table
- findColumnOrThrow(String) - Method in interface de.yamass.redg.schema.model.Table
- findEntities(Class<T>, Predicate<T>) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Searches through the list of entities to insert into the database and returns all of the specified type that match the passed
Predicate. - findFields(Class<?>, Predicate<Field>) - Static method in class de.yamass.redg.jpa.ReflectionUtil
- findFieldsByAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class de.yamass.redg.jpa.ReflectionUtil
- findMembersByAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class de.yamass.redg.jpa.ReflectionUtil
- findMethods(Class<?>, Predicate<Method>) - Static method in class de.yamass.redg.jpa.ReflectionUtil
- findMethodsByAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class de.yamass.redg.jpa.ReflectionUtil
- findSingleEntity(Class<T>, Predicate<T>) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Finds a single entity in the list of entities to insert into the database.
- findTable(String, String) - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
- findTableOrThrow(String, String) - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
- firstCharacterToLowerCase(String) - Static method in class de.yamass.redg.generator.utils.NameUtils
- firstCharacterToUpperCase(String) - Static method in class de.yamass.redg.generator.utils.NameUtils
- FK - Enum constant in enum class de.yamass.redg.extractor.model.EntityModel.ValueModel.ForeignKeyState
- FOREIGN_KEY - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- ForeignKey - Record Class in de.yamass.redg.schema.model
- ForeignKey(String, Table, Table, List<ForeignKeyColumn>) - Constructor for record class de.yamass.redg.schema.model.ForeignKey
-
Creates an instance of a
ForeignKeyrecord class. - ForeignKeyColumn - Record Class in de.yamass.redg.schema.model
- ForeignKeyColumn(Column, Column) - Constructor for record class de.yamass.redg.schema.model.ForeignKeyColumn
-
Creates an instance of a
ForeignKeyColumnrecord class. - ForeignKeyColumnModel - Class in de.yamass.redg.models
- ForeignKeyColumnModel() - Constructor for class de.yamass.redg.models.ForeignKeyColumnModel
- ForeignKeyModel - Class in de.yamass.redg.models
-
Model for usage in the stringtemplate template
- ForeignKeyModel() - Constructor for class de.yamass.redg.models.ForeignKeyModel
- formatValue(T, String, String, String, String) - Method in class de.yamass.redg.runtime.insertvalues.DefaultSQLValuesFormatter
- formatValue(T, String, String, String, String) - Method in interface de.yamass.redg.runtime.insertvalues.SQLValuesFormatter
-
Formats a value so that it can be inserted into the extractor.
- fqcn - Variable in class de.yamass.redg.plugin.util.ClassAvailabilityChecker
- fromDatabaseCode(String) - Static method in enum class de.yamass.redg.schema.model.ConstraintType
- fromEntityModel(EntityModel) - Static method in class de.yamass.redg.extractor.model.ExistingEntityModel
- fromPersistenceUnit(String) - Static method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- fromPersistenceUnit(String, String) - Static method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- fullTableName(Predicate<String>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
G
- generate(List<TableModel>, Path, boolean) - Method in class de.yamass.redg.generator.CodeGenerator
-
Generates the code from the given set of tables and writes the output into the passed folder.
- generateCode(String, String, String, List<EntityModel>) - Method in class de.yamass.redg.extractor.CodeGenerator
- generateCode(DataSource, List<String>, String, String, Path, DataTypeProvider, NameProvider, ExplicitAttributeDecider, ConvenienceSetterProvider, boolean) - Static method in class de.yamass.redg.generator.RedGGenerator
-
This is a convenience method that combines the whole metadata extraction and code generation process into a single method while still offering most of the customizability.
- generateCodeForTable(TableModel, boolean) - Method in class de.yamass.redg.generator.CodeGenerator
-
Generates a java code file that can later be used to generate SQL insert strings for the given extractor table.
- generateDummyClassCodeForTable(TableModel) - Method in class de.yamass.redg.generator.CodeGenerator
- generateExistingClassCodeForTable(TableModel) - Method in class de.yamass.redg.generator.CodeGenerator
-
Generates the java code for the class representing a entity that is already in the database but needs to be referenced from entities that should be created by RedG.
- generateJavaPackageStructure(Path, String) - Static method in class de.yamass.redg.generator.utils.FileUtils
- generateMainClass(Collection<TableModel>, boolean) - Method in class de.yamass.redg.generator.CodeGenerator
-
Generates the main class used for creating the extractor objects and later generating the insert statements.
- generateSQLStatements() - Method in class de.yamass.redg.runtime.AbstractRedG
-
Returns a list of insert statements, one for each added entity in the respective order they were added.
- GENERIC - Enum constant in enum class de.yamass.redg.DatabaseType
- GenericSchemaInfoRetrieverImpl - Class in de.yamass.redg.schema.vendor
-
Generic SchemaInfoRetriever implementation for databases that don't have a specific implementation.
- GenericSchemaInfoRetrieverImpl() - Constructor for class de.yamass.redg.schema.vendor.GenericSchemaInfoRetrieverImpl
- get(Object) - Method in class de.yamass.redg.generator.utils.JavaSqlStringEscapeMap
- get(Object) - Method in class de.yamass.redg.generator.utils.JavaStringEscapeMap
- getAllRefs() - Method in class de.yamass.redg.extractor.model.EntityModel
- getArrayDimensions() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns the number of array dimensions.
- getArrayDimensions() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getArrayDimensions(Connection, String, String, String) - Method in class de.yamass.redg.schema.vendor.GenericSchemaInfoRetrieverImpl
- getArrayDimensions(Connection, String, String, String) - Method in class de.yamass.redg.schema.vendor.H2SchemaInfoRetrieverImpl
- getArrayDimensions(Connection, String, String, String) - Method in class de.yamass.redg.schema.vendor.MariaDbSchemaInfoRetrieverImpl
- getArrayDimensions(Connection, String, String, String) - Method in class de.yamass.redg.schema.vendor.PostgresSchemaInfoRetrieverImpl
- getArrayDimensions(Connection, String, String, String) - Method in interface de.yamass.redg.schema.vendor.SchemaInfoRetriever
-
Gets the number of array dimensions for a column type.
- getAttributeName() - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- getBaseType() - Method in interface de.yamass.redg.schema.model.DataType
- getBaseType() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getCanonicalDataTypeName(Column, Table) - Method in interface de.yamass.redg.generator.extractor.datatypeprovider.DataTypeProvider
-
Called during the model data extraction process for each column that is being processed with the current column as the parameter.
- getCanonicalDataTypeName(Column, Table) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.DefaultDataTypeProvider
-
Returns the Java class name based on the JDBC type mapping.
- getCanonicalDataTypeName(Column, Table) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.json.JsonFileDataTypeProvider
- getCanonicalDataTypeName(Column, Table) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.NoPrimitiveTypesDataTypeProviderWrapper
- getCanonicalDataTypeName(Column, Table) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.XmlFileDataTypeProvider
- getCanonicalDataTypeName(Column, Table) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- getCanonicalName(JDBCType) - Static method in class de.yamass.redg.generator.utils.TypeMap
-
Gets the canonical name of the Java class for a JDBC type.
- getCanonicalName(Optional<JDBCType>) - Static method in class de.yamass.redg.generator.utils.TypeMap
-
Gets the canonical name of the Java class for a JDBC type.
- getClassName() - Method in class de.yamass.redg.models.TableModel
- getClassNameForTable(Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
-
Turns a SQL table by its name into a java class name (upper-case camel-case).
- getClassNameForTable(Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonFileNameProvider
- getClassNameForTable(Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
-
Generates a class name for a database table.
- getClassNameForTable(Table) - Method in interface de.yamass.redg.generator.extractor.nameprovider.NameProvider
-
Generates a class name for a database table.
- getClassNameForTable(Table) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- getCodeForColumnValue(Object, String, int, String) - Method in class de.yamass.redg.extractor.model.representationprovider.DefaultJavaCodeRepresentationProvider
- getCodeForColumnValue(Object, String, int, String) - Method in interface de.yamass.redg.extractor.model.representationprovider.JavaCodeRepresentationProvider
- getCodeForFKValue(EntityModel, ForeignKeyModel) - Method in class de.yamass.redg.extractor.model.representationprovider.DefaultJavaCodeRepresentationProvider
- getCodeForFKValue(EntityModel, ForeignKeyModel) - Method in interface de.yamass.redg.extractor.model.representationprovider.JavaCodeRepresentationProvider
- getColumnBySQLName(String) - Method in class de.yamass.redg.models.TableModel
- getColumnName() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.ColumnTypeMapping
- getColumns() - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonTableNameData
- getColumns() - Method in class de.yamass.redg.models.TableModel
- getColumnTypeMappings() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TableTypeMapping
- getConnectionString() - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- getConstraints(Connection, String) - Method in class de.yamass.redg.schema.vendor.GenericSchemaInfoRetrieverImpl
- getConstraints(Connection, String) - Method in class de.yamass.redg.schema.vendor.H2SchemaInfoRetrieverImpl
- getConstraints(Connection, String) - Method in class de.yamass.redg.schema.vendor.MariaDbSchemaInfoRetrieverImpl
- getConstraints(Connection, String) - Method in class de.yamass.redg.schema.vendor.PostgresSchemaInfoRetrieverImpl
- getConstraints(Connection, String) - Method in interface de.yamass.redg.schema.vendor.SchemaInfoRetriever
- getConstructorParams() - Method in class de.yamass.redg.models.JoinTableSimplifierModel
- getConvenienceSetters() - Method in class de.yamass.redg.models.ColumnModel
- getConvenienceSetters(Column, Table, String) - Method in interface de.yamass.redg.generator.extractor.conveniencesetterprovider.ConvenienceSetterProvider
- getConvenienceSetters(Column, Table, String) - Method in class de.yamass.redg.plugin.config.MojoConvenienceSetterProvider
- getConvenienceType() - Method in class de.yamass.redg.plugin.config.ConvenienceSetterConfig
- getConverterMethod() - Method in class de.yamass.redg.plugin.config.ConvenienceSetterConfig
- getDataType() - Method in class de.yamass.redg.models.ColumnModel
- getDbColumnName() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- getDbFullTableName() - Method in class de.yamass.redg.models.ColumnModel
- getDbFullTableName() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getDbFullTableName() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- getDbName() - Method in class de.yamass.redg.models.ColumnModel
- getDbName() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getDbTableName() - Method in class de.yamass.redg.models.ColumnModel
- getDbTableName() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getDbTableName() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- getDbTypeName() - Method in class de.yamass.redg.models.ColumnModel
- getDbTypeName() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getDefaultTypeMappings() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.json.TypeMappings
- getDefaultTypeMappings() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TypeMappings
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultDefaultValueStrategy
- getDefaultValue(ColumnModel, Class<T>) - Method in interface de.yamass.redg.runtime.defaultvalues.DefaultValueStrategy
-
Generates and returns a default value for a column in a table.
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.ConditionalProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.ConstantStringProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.ConstantValueProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.CurrentDateProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.CustomConditionalProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.DefaultDefaultValueProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.IncrementingNumberProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.PluggableDefaultValueStrategy
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.StaticDateProvider
- getDefaultValue(ColumnModel, Class<T>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.StaticNumberProvider
- getDefaultValueStrategy() - Method in class de.yamass.redg.runtime.AbstractRedG
-
Returns the default value strategy used to fill not provided values for the entities
- getDependencies() - Method in interface de.yamass.redg.runtime.RedGEntity
-
Returns a list of all other
RedGEntitys this entity depends on (has foreign keys to). - getDummy(AbstractRedG, Class<T>) - Method in class de.yamass.redg.runtime.dummy.DefaultDummyFactory
-
Returns a dummy entity for the requested type.
- getDummy(AbstractRedG, Class<T>) - Method in interface de.yamass.redg.runtime.dummy.DummyFactory
- getDummyFactory() - Method in class de.yamass.redg.runtime.AbstractRedG
-
Returns the current
DummyFactorythat will be used to create dummy entities. - getEntities() - Method in class de.yamass.redg.runtime.AbstractRedG
- getEntitiesSortedForInsert() - Method in class de.yamass.redg.runtime.AbstractRedG
- getEntityModeDecider() - Method in class de.yamass.redg.extractor.DataExtractor
- getEntityNameProvider() - Static method in class de.yamass.redg.extractor.model.EntityModel
- getEnumValues() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns the list of enum values for enumerated types.
- getEnumValues() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getEnumValues(Connection, String, String, String, String) - Method in class de.yamass.redg.schema.vendor.MariaDbSchemaInfoRetrieverImpl
- getEnumValues(Connection, String, String, String, String) - Method in class de.yamass.redg.schema.vendor.PostgresSchemaInfoRetrieverImpl
- getEnumValues(Connection, String, String, String, String) - Method in interface de.yamass.redg.schema.vendor.SchemaInfoRetriever
-
Gets the enum values for an enumerated type column.
- getExplicitAttributes() - Method in class de.yamass.redg.models.TableModel
- getExplicitFields() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- getForeignKeyColumns() - Method in class de.yamass.redg.models.TableModel
- getForeignKeys() - Method in class de.yamass.redg.models.TableModel
- getForeignKeyState() - Method in class de.yamass.redg.extractor.model.EntityModel.ValueModel
- getFrom() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- getFullyQualifiedConverterMethodName() - Method in class de.yamass.redg.models.ConvenienceSetterModel
- getHibernateDialect() - Method in class de.yamass.redg.plugin.JpaProviderConfig
- getId() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- getImplicitFields() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- getIncomingForeignKeys() - Method in class de.yamass.redg.models.TableModel
- getJavaClass(JDBCType) - Static method in class de.yamass.redg.generator.utils.TypeMap
-
Maps a JDBC type to its default Java class.
- getJavaClass(Optional<JDBCType>) - Static method in class de.yamass.redg.generator.utils.TypeMap
-
Maps a JDBC type to its default Java class.
- getJavaPropertyName() - Method in class de.yamass.redg.models.ColumnModel
- getJavaPropertyName() - Method in class de.yamass.redg.models.ForeignKeyModel
- getJavaType() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.ColumnTypeMapping
- getJavaType() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.DefaultTypeMapping
- getJavaType() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- getJavaTypeAsClass() - Method in class de.yamass.redg.models.ColumnModel
- getJavaTypeName() - Method in class de.yamass.redg.models.ColumnModel
- getJavaTypeName() - Method in class de.yamass.redg.models.ForeignKeyModel
- getJcrProvider() - Method in class de.yamass.redg.extractor.DataExtractor
- getJdbcDriver() - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- getJdbcType() - Method in interface de.yamass.redg.schema.model.DataType
- getJdbcType() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getJoinTableSimplifierData() - Method in class de.yamass.redg.models.TableModel
- getLocalName() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getLocalType() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getMaximumScale() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns the maximum scale for numeric types.
- getMaximumScale() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getMethodNameForColumn(Column, Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
-
Turns a SQL column name into a java method name (lower-case camel-case).
- getMethodNameForColumn(Column, Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonFileNameProvider
- getMethodNameForColumn(Column, Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
-
Generates a method name for a database column.
- getMethodNameForColumn(Column, Table) - Method in interface de.yamass.redg.generator.extractor.nameprovider.NameProvider
-
Generates a method name for a database column.
- getMethodNameForColumn(Column, Table) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- getMethodNameForForeignKeyColumn(ForeignKeyColumn, Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
- getMethodNameForForeignKeyColumn(ForeignKeyColumn, Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonFileNameProvider
- getMethodNameForForeignKeyColumn(ForeignKeyColumn, Table) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
- getMethodNameForForeignKeyColumn(ForeignKeyColumn, Table) - Method in interface de.yamass.redg.generator.extractor.nameprovider.NameProvider
-
Generates a method name for a database column that represents a foreign key or is part of a foreign key.
- getMethodNameForForeignKeyColumn(ForeignKeyColumn, Table) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- getMethodNameForIncomingForeignKey(ForeignKey) - Method in class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
- getMethodNameForIncomingForeignKey(ForeignKey) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonFileNameProvider
- getMethodNameForIncomingForeignKey(ForeignKey) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
- getMethodNameForIncomingForeignKey(ForeignKey) - Method in interface de.yamass.redg.generator.extractor.nameprovider.NameProvider
-
Generates a method name for an incoming foreign key.
- getMethodNameForIncomingForeignKey(ForeignKey) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- getMethodNameForReference(ForeignKey) - Method in class de.yamass.redg.generator.extractor.nameprovider.DefaultNameProvider
-
Generates an appropriate method name for a foreign key
- getMethodNameForReference(ForeignKey) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonFileNameProvider
- getMethodNameForReference(ForeignKey) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
-
Generates a method name for a foreign key.
- getMethodNameForReference(ForeignKey) - Method in interface de.yamass.redg.generator.extractor.nameprovider.NameProvider
-
Generates a method name for a foreign key.
- getMethodNameForReference(ForeignKey) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- getMethodParams() - Method in class de.yamass.redg.models.JoinTableSimplifierModel
- getMinimumScale() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns the minimum scale for numeric types.
- getMinimumScale() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getName() - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonTableNameData
- getName() - Method in class de.yamass.redg.models.DataTypeModel
- getName() - Method in class de.yamass.redg.models.JoinTableSimplifierModel
- getName() - Method in class de.yamass.redg.models.TableModel
- getName() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationField
- getName() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- getName() - Method in interface de.yamass.redg.schema.model.DataType
- getName() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getName(TableModel) - Method in class de.yamass.redg.extractor.model.entitynameprovider.DefaultEntityNameProvider
- getName(TableModel) - Method in interface de.yamass.redg.extractor.model.entitynameprovider.EntityNameProvider
- getNonExplicitNonFKAttributes() - Method in class de.yamass.redg.models.TableModel
- getNonForeignKeyColumns() - Method in class de.yamass.redg.models.TableModel
- getNonForeignPrimaryKeys() - Method in class de.yamass.redg.models.TableModel
- getNonPrimaryKeyNonFKColumns() - Method in class de.yamass.redg.models.TableModel
- getNotNullForeignKeys() - Method in class de.yamass.redg.models.TableModel
- getNotNullRefs() - Method in class de.yamass.redg.extractor.model.EntityModel
- getNotNullRefs() - Method in class de.yamass.redg.extractor.model.ReferencingEntityModel
- getNullableForeignKeys() - Method in class de.yamass.redg.models.TableModel
- getNullableIncomingForeignKeys() - Method in class de.yamass.redg.models.TableModel
- getNullableRefs() - Method in class de.yamass.redg.extractor.model.EntityModel
- getObjects() - Method in class de.yamass.redg.runtime.visualization.RedGVisualization
- getOriginalType() - Method in class de.yamass.redg.plugin.config.ConvenienceSetterConfig
- getPackageName() - Method in class de.yamass.redg.models.TableModel
- getPassword() - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- getPersistenceUnitName() - Method in class de.yamass.redg.plugin.JpaProviderConfig
- getPrecision() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns the precision for numeric types.
- getPrecision() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getPreparedStatementParameterSetter() - Method in class de.yamass.redg.runtime.AbstractRedG
-
Returns the transformer that is used to set parameter values on
PreparedStatements. - getPreparedStatementString() - Method in interface de.yamass.redg.runtime.RedGEntity
-
Returns a valid SQL statement using '?'
- getPreparedStatementValues() - Method in interface de.yamass.redg.runtime.RedGEntity
-
Returns an array of objects that contains the values for the placeholders specified in
RedGEntity.getPreparedStatementString(). - getPreparedStatementValuesMetaInfos() - Method in interface de.yamass.redg.runtime.RedGEntity
-
Returns an array of the sql types for the objects from
RedGEntity.getPreparedStatementValues(). - getPrimaryKeyAttributeName() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getPrimaryKeyColumns() - Method in class de.yamass.redg.models.TableModel
- getPrimaryKeyValues() - Method in class de.yamass.redg.extractor.model.ExistingEntityModel
- getProviders() - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.PluggableDefaultValueStrategy
- getReferences() - Method in class de.yamass.redg.models.ForeignKeyModel
- getReferencingAttributeName() - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- getReferencingJavaTypeName() - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- getRelationships() - Method in class de.yamass.redg.runtime.visualization.RedGVisualization
- getResourceAsFile(String) - Static method in class de.yamass.redg.testing.Helpers
-
Copies a resource to a temporary file and returns the associated file object.
- getResourceAsReader(String) - Static method in class de.yamass.redg.testing.Helpers
- getResourceAsStream(String) - Static method in class de.yamass.redg.testing.Helpers
- getResourceAsString(String) - Static method in class de.yamass.redg.testing.Helpers
- getSetterJavaTypeName() - Method in class de.yamass.redg.models.ConvenienceSetterModel
- getSqlFullName() - Method in class de.yamass.redg.models.TableModel
- getSqlName() - Method in class de.yamass.redg.models.TableModel
- getSqlName() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationField
- getSqlName() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- getSqlName() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- getSQLString() - Method in interface de.yamass.redg.runtime.RedGEntity
-
Returns a valid SQL insert statement that can be used to persist this entity in the database.
- getSqlType() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.DefaultTypeMapping
- getSqlType() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- getSqlTypeInt() - Method in class de.yamass.redg.models.ColumnModel
-
See java.sql.Types
- getSqlTypeInt() - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- getSqlTypeInt() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- getSqlValuesFormatter() - Method in class de.yamass.redg.runtime.AbstractRedG
-
Returns the formatter used to format the values for the sql insert string.
- getTableMappings() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.json.TypeMappings
- getTableModel() - Method in class de.yamass.redg.extractor.model.EntityModel
- getTableName() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TableTypeMapping
- getTableTypeMappings() - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TypeMappings
- getTo() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- getType() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- getTypeName() - Method in class de.yamass.redg.extractor.model.ReferencingEntityModel
- getTypeNumber() - Method in interface de.yamass.redg.schema.model.DataType
-
See DatabaseMetaData.getTypeInfo()getInt("SOURCE_DATA_TYPE")
- getTypeNumber() - Method in class de.yamass.redg.schema.model.DefaultDataType
- getUdts(Connection, String) - Method in class de.yamass.redg.schema.vendor.GenericSchemaInfoRetrieverImpl
- getUdts(Connection, String) - Method in class de.yamass.redg.schema.vendor.H2SchemaInfoRetrieverImpl
- getUdts(Connection, String) - Method in class de.yamass.redg.schema.vendor.MariaDbSchemaInfoRetrieverImpl
- getUdts(Connection, String) - Method in class de.yamass.redg.schema.vendor.PostgresSchemaInfoRetrieverImpl
- getUdts(Connection, String) - Method in interface de.yamass.redg.schema.vendor.SchemaInfoRetriever
- getUsername() - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- getValue() - Method in class de.yamass.redg.extractor.model.EntityModel.ValueModel
- getValue() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationField
- getValues() - Method in class de.yamass.redg.extractor.model.EntityModel
- getValuesWithoutFKs() - Method in class de.yamass.redg.extractor.model.EntityModel
- getVariableName() - Method in class de.yamass.redg.extractor.model.EntityModel
- getVendorTypeNumber() - Method in class de.yamass.redg.models.DataTypeModel
- getVersion() - Method in class de.yamass.redg.runtime.visualization.RedGVisualization
- getVisualizationJson() - Method in class de.yamass.redg.runtime.AbstractRedG
- getVisualizationJson(List<RedGEntity>, Predicate<RedGEntity>) - Static method in class de.yamass.redg.runtime.visualization.VisualizationUtil
H
- H2 - Enum constant in enum class de.yamass.redg.DatabaseType
- H2SchemaInfoRetrieverImpl - Class in de.yamass.redg.schema.vendor
-
SchemaInfoRetriever implementation for H2 database.
- H2SchemaInfoRetrieverImpl() - Constructor for class de.yamass.redg.schema.vendor.H2SchemaInfoRetrieverImpl
- hasColumnsAndForeignKeys() - Method in class de.yamass.redg.models.TableModel
- hashCode() - Method in class de.yamass.redg.extractor.model.EntityModel.ValueModel
- hashCode() - Method in record class de.yamass.redg.schema.model.Column
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Custom hashCode implementation that uses table qualified names instead of table hash codes.
- hashCode() - Method in record class de.yamass.redg.schema.model.ForeignKeyColumn
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.yamass.redg.schema.model.UdtField
-
Returns a hash code value for this object.
- Helpers - Class in de.yamass.redg.testing
- Helpers() - Constructor for class de.yamass.redg.testing.Helpers
- HelpMojo - Class in de.yamass.redg_maven_plugin
-
Display help information on redg-maven-plugin.
Callmvn redg:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class de.yamass.redg_maven_plugin.HelpMojo
I
- IncomingForeignKeyModel - Class in de.yamass.redg.models
- IncomingForeignKeyModel() - Constructor for class de.yamass.redg.models.IncomingForeignKeyModel
- incomingForeignKeys() - Method in class de.yamass.redg.schema.model.MutableTable
- incomingForeignKeys() - Method in interface de.yamass.redg.schema.model.Table
- IncrementingNumberProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat provides incrementing numbers. - IncrementingNumberProvider() - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.IncrementingNumberProvider
- IncrementingNumberProvider(BigDecimal) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.IncrementingNumberProvider
- insertDataIntoDatabase(Connection) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Inserts all data previously prepared by RedG into the database the
Connectionconnects to. - insertDataIntoDatabase(List<? extends RedGEntity>, Connection) - Static method in class de.yamass.redg.runtime.jdbc.RedGDatabaseUtil
- insertDataIntoDatabase(List<? extends RedGEntity>, Connection, PreparedStatementParameterSetter) - Static method in class de.yamass.redg.runtime.jdbc.RedGDatabaseUtil
-
Inserts all data previously prepared by RedG into the database the
Connectionconnects to. - InsertionFailedException - Exception in de.yamass.redg.runtime
-
Exception indicating that an entity could not be inserted into a database.
- InsertionFailedException() - Constructor for exception de.yamass.redg.runtime.InsertionFailedException
- InsertionFailedException(String) - Constructor for exception de.yamass.redg.runtime.InsertionFailedException
- InsertionFailedException(String, Throwable) - Constructor for exception de.yamass.redg.runtime.InsertionFailedException
- InsertionFailedException(String, Throwable, boolean, boolean) - Constructor for exception de.yamass.redg.runtime.InsertionFailedException
- InsertionFailedException(Throwable) - Constructor for exception de.yamass.redg.runtime.InsertionFailedException
- inspectSchema(String) - Method in class de.yamass.redg.schema.inspector.SchemaInspector
- inspectSchemas(DataSource, List<String>) - Static method in class de.yamass.redg.generator.RedGGenerator
-
Inspects the specified schemas using SchemaInspector and combines the results.
- isArray() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns true if this is an array type (i.e., getArrayDimensions() > 0).
- isAutoIncrementable() - Method in interface de.yamass.redg.schema.model.DataType
- isAutoIncrementable() - Method in class de.yamass.redg.schema.model.DefaultDataType
- isAvailable() - Method in class de.yamass.redg.plugin.util.ClassAvailabilityChecker
- isDummy() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- isDummy(RedGEntity) - Method in class de.yamass.redg.runtime.dummy.DefaultDummyFactory
-
Checks whether an entity is a dummy generated by this dummy factory by comparing it against the internal dummy cache.
- isDummy(RedGEntity) - Method in interface de.yamass.redg.runtime.dummy.DummyFactory
- isEnumerated() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns true if this is an enumerated type (enum).
- isExistingEntity() - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- isExplicitAttribute() - Method in class de.yamass.redg.models.ColumnModel
- isExplicitAttribute(Column, Table) - Method in class de.yamass.redg.generator.extractor.explicitattributedecider.DefaultExplicitAttributeDecider
- isExplicitAttribute(Column, Table) - Method in interface de.yamass.redg.generator.extractor.explicitattributedecider.ExplicitAttributeDecider
- isExplicitAttribute(Column, Table) - Method in class de.yamass.redg.generator.extractor.explicitattributedecider.JsonFileExplicitAttributeDecider
- isExplicitForeignKey(ForeignKey) - Method in class de.yamass.redg.generator.extractor.explicitattributedecider.DefaultExplicitAttributeDecider
- isExplicitForeignKey(ForeignKey) - Method in interface de.yamass.redg.generator.extractor.explicitattributedecider.ExplicitAttributeDecider
- isExplicitForeignKey(ForeignKey) - Method in class de.yamass.redg.generator.extractor.explicitattributedecider.JsonFileExplicitAttributeDecider
- isFixedPrecisionScale() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns true if this numeric type has fixed precision and scale.
- isFixedPrecisionScale() - Method in class de.yamass.redg.schema.model.DefaultDataType
- isGenerateAsNewEntity() - Method in class de.yamass.redg.extractor.model.EntityModel
- isGenerateAsNewEntity() - Method in class de.yamass.redg.extractor.model.ExistingEntityModel
- isNonFK() - Method in class de.yamass.redg.extractor.model.EntityModel.ValueModel
- isNotNull() - Method in class de.yamass.redg.models.ColumnModel
- isNotNull() - Method in class de.yamass.redg.models.ForeignKeyModel
- isNotNull() - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- isNotNull() - Method in class de.yamass.redg.runtime.AttributeMetaInfo
- isNotNull() - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- isNullable() - Method in class de.yamass.redg.models.DataTypeModel
- ISO8601_DATE_FORMAT - Static variable in class de.yamass.redg.runtime.util.DateConverter
- ISO8601_DATE_TIME_FORMAT - Static variable in class de.yamass.redg.runtime.util.DateConverter
- isPartOfForeignKey() - Method in class de.yamass.redg.models.ColumnModel
- isPartOfPrimaryKey() - Method in class de.yamass.redg.models.ColumnModel
- isPrimary() - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- isPrimitiveType() - Method in class de.yamass.redg.models.ColumnModel
- isPrimitiveType() - Method in class de.yamass.redg.models.ConvenienceSetterModel
- isUnique() - Method in class de.yamass.redg.models.ColumnModel
- isUnique() - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- isUnsigned() - Method in interface de.yamass.redg.schema.model.DataType
-
Returns true if this numeric type is unsigned.
- isUnsigned() - Method in class de.yamass.redg.schema.model.DefaultDataType
- isUseAsDataTypeProvider() - Method in class de.yamass.redg.plugin.JpaProviderConfig
- isUseAsNameProvider() - Method in class de.yamass.redg.plugin.JpaProviderConfig
J
- JavaCodeRepresentationProvider - Interface in de.yamass.redg.extractor.model.representationprovider
- JavaSqlStringEscapeMap - Class in de.yamass.redg.generator.utils
-
This Map dynamically transforms Strings and escapes double-quotes.
- JavaSqlStringEscapeMap() - Constructor for class de.yamass.redg.generator.utils.JavaSqlStringEscapeMap
- JavaSqlStringEscapeMap(String) - Constructor for class de.yamass.redg.generator.utils.JavaSqlStringEscapeMap
- JavaSqlStringEscapeMap(String, String) - Constructor for class de.yamass.redg.generator.utils.JavaSqlStringEscapeMap
- JavaStringEscapeMap - Class in de.yamass.redg.generator.utils
-
This Map dynamically transforms Strings and escapes double-quotes.
- JavaStringEscapeMap() - Constructor for class de.yamass.redg.generator.utils.JavaStringEscapeMap
- JoinTableSimplifierModel - Class in de.yamass.redg.models
- JoinTableSimplifierModel() - Constructor for class de.yamass.redg.models.JoinTableSimplifierModel
- JpaMetamodelRedGProvider - Class in de.yamass.redg.jpa
- JpaMetamodelRedGProvider(Metamodel) - Constructor for class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- JpaProviderConfig - Class in de.yamass.redg.plugin
- JpaProviderConfig() - Constructor for class de.yamass.redg.plugin.JpaProviderConfig
- JsonFileDataTypeProvider - Class in de.yamass.redg.generator.extractor.datatypeprovider.json
-
A data type provider that reads the types from a json file.
- JsonFileDataTypeProvider(File, DataTypeProvider) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.json.JsonFileDataTypeProvider
-
Creates a
DataTypeProviderthat uses a JSON file as its data source. - JsonFileExplicitAttributeDecider - Class in de.yamass.redg.generator.extractor.explicitattributedecider
-
An
ExplicitAttributeDeciderreading explicit attribute information from a JSON file. - JsonFileExplicitAttributeDecider(File) - Constructor for class de.yamass.redg.generator.extractor.explicitattributedecider.JsonFileExplicitAttributeDecider
- JsonFileExplicitAttributeDecider(Reader) - Constructor for class de.yamass.redg.generator.extractor.explicitattributedecider.JsonFileExplicitAttributeDecider
- JsonFileNameProvider - Class in de.yamass.redg.generator.extractor.nameprovider.json
- JsonFileNameProvider(File) - Constructor for class de.yamass.redg.generator.extractor.nameprovider.json.JsonFileNameProvider
- JsonTableNameData - Class in de.yamass.redg.generator.extractor.nameprovider.json
- JsonTableNameData() - Constructor for class de.yamass.redg.generator.extractor.nameprovider.json.JsonTableNameData
M
- main(String[]) - Static method in class de.yamass.redg.extractor.ConsoleRunner
- mariadb() - Static method in class de.yamass.redg.testing.TestDatabaseContainers
- MARIADB - Enum constant in enum class de.yamass.redg.DatabaseType
- MariaDbSchemaInfoRetrieverImpl - Class in de.yamass.redg.schema.vendor
- MariaDbSchemaInfoRetrieverImpl() - Constructor for class de.yamass.redg.schema.vendor.MariaDbSchemaInfoRetrieverImpl
- Matchers - Class in de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers
-
The class containing all the static matchers for the attributes that can be checked with the builder
- matchesRegex(String) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Conditions
- ModelUtil - Class in de.yamass.redg.models
- ModelUtil() - Constructor for class de.yamass.redg.models.ModelUtil
- MojoConvenienceSetterProvider - Class in de.yamass.redg.plugin.config
- MojoConvenienceSetterProvider(List<ConvenienceSetterConfig>) - Constructor for class de.yamass.redg.plugin.config.MojoConvenienceSetterProvider
- MultiProviderNameProvider - Class in de.yamass.redg.generator.extractor.nameprovider
-
This is a name provider that takes the final name from a list of supplied providers.
- MultiProviderNameProvider() - Constructor for class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
- MutableTable - Class in de.yamass.redg.schema.model
-
Mutable implementation of Table that allows adding foreign keys after instantiation.
- MutableTable(String, String) - Constructor for class de.yamass.redg.schema.model.MutableTable
N
- name() - Method in record class de.yamass.redg.schema.model.Column
-
Returns the value of the
namerecord component. - name() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns the value of the
namerecord component. - name() - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Returns the value of the
namerecord component. - name() - Method in class de.yamass.redg.schema.model.MutableTable
- name() - Method in interface de.yamass.redg.schema.model.Table
- name() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns the value of the
namerecord component. - name() - Method in record class de.yamass.redg.schema.model.UdtField
-
Returns the value of the
namerecord component. - NameProvider - Interface in de.yamass.redg.generator.extractor.nameprovider
-
This is the interface used for generating the class/method/variable names for the code generation.
- NameUtils - Class in de.yamass.redg.generator.utils
-
Contains static helper methods for converting SQL names to java names
- NameUtils() - Constructor for class de.yamass.redg.generator.utils.NameUtils
- neq(T) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Conditions
- NoDefaultValueException - Exception in de.yamass.redg.runtime.defaultvalues
- NoDefaultValueException() - Constructor for exception de.yamass.redg.runtime.defaultvalues.NoDefaultValueException
- NoDefaultValueException(String) - Constructor for exception de.yamass.redg.runtime.defaultvalues.NoDefaultValueException
- NON_FK - Enum constant in enum class de.yamass.redg.extractor.model.EntityModel.ValueModel.ForeignKeyState
- NONE - Static variable in interface de.yamass.redg.generator.extractor.conveniencesetterprovider.ConvenienceSetterProvider
- NoPrimitiveTypesDataTypeProviderWrapper - Class in de.yamass.redg.generator.extractor.datatypeprovider
- NoPrimitiveTypesDataTypeProviderWrapper(DataTypeProvider) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.NoPrimitiveTypesDataTypeProviderWrapper
- notNull(Predicate<Boolean>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- nullable() - Method in record class de.yamass.redg.schema.model.Column
-
Returns the value of the
nullablerecord component. - NumberProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat is capable of providing numbers. - NumberProvider() - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.NumberProvider
O
- oneOf(Predicate<ColumnModel>...) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
-
A condition that returns true if exactly one of the provided conditions return true.
- ORACLE_LIKE_DATE - Static variable in class de.yamass.redg.runtime.util.DateConverter
- outgoingForeignKeys() - Method in class de.yamass.redg.schema.model.MutableTable
- outgoingForeignKeys() - Method in interface de.yamass.redg.schema.model.Table
P
- partial() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns the value of the
partialrecord component. - PluggableDefaultValueProvider - Interface in de.yamass.redg.runtime.defaultvalues.pluggable
-
The interface to be used with the
PluggableDefaultValueStrategy. - PluggableDefaultValueStrategy - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
DefaultValueStrategythat implements a simple plugin system. - PluggableDefaultValueStrategy() - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.PluggableDefaultValueStrategy
- postgres() - Static method in class de.yamass.redg.testing.TestDatabaseContainers
- POSTGRES - Enum constant in enum class de.yamass.redg.DatabaseType
- PostgresSchemaInfoRetrieverImpl - Class in de.yamass.redg.schema.vendor
- PostgresSchemaInfoRetrieverImpl() - Constructor for class de.yamass.redg.schema.vendor.PostgresSchemaInfoRetrieverImpl
- PreparedStatementParameterSetter - Interface in de.yamass.redg.runtime.transformer
-
Interface used to transform java objects before adding them to the prepared statement.
- prependProvider(NameProvider) - Method in class de.yamass.redg.generator.extractor.nameprovider.MultiProviderNameProvider
-
Adds a name provider to the beginning of the internal list.
- PRIMARY_KEY - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- primaryKeyColumns() - Method in class de.yamass.redg.schema.model.MutableTable
- primaryKeyColumns() - Method in interface de.yamass.redg.schema.model.Table
- PRIMITIVE_TYPE_NAMES - Static variable in class de.yamass.redg.models.ModelUtil
- provideTestTemplateInvocationContexts(ExtensionContext) - Method in class de.yamass.redg.testing.SharedDatabasesInvocationProvider
R
- RedGBuilder<T extends AbstractRedG> - Class in de.yamass.redg.runtime
-
This is a simple builder that allows you to easily create a customized RedG instance.
- RedGBuilder() - Constructor for class de.yamass.redg.runtime.RedGBuilder
-
Creates a new builder that attempts to load the default RedG class (de.yamass.redg.generated.RedG) and use it as the instance.
- RedGBuilder(Class<T>) - Constructor for class de.yamass.redg.runtime.RedGBuilder
-
Creates a new builder
- RedGDatabaseUtil - Class in de.yamass.redg.runtime.jdbc
- RedGEntity - Interface in de.yamass.redg.runtime
-
This is the interface for every entity that can be inserted into a database by RedG.
- RedGGenerationException - Exception in de.yamass.redg.generator.exceptions
- RedGGenerationException() - Constructor for exception de.yamass.redg.generator.exceptions.RedGGenerationException
- RedGGenerationException(String) - Constructor for exception de.yamass.redg.generator.exceptions.RedGGenerationException
- RedGGenerationException(String, Throwable) - Constructor for exception de.yamass.redg.generator.exceptions.RedGGenerationException
- RedGGenerationException(String, Throwable, boolean, boolean) - Constructor for exception de.yamass.redg.generator.exceptions.RedGGenerationException
- RedGGenerationException(Throwable) - Constructor for exception de.yamass.redg.generator.exceptions.RedGGenerationException
- RedGGenerator - Class in de.yamass.redg.generator
-
The main class for the RedG generator.
- RedGGenerator() - Constructor for class de.yamass.redg.generator.RedGGenerator
- RedGGeneratorMojo - Class in de.yamass.redg.plugin
-
The MOJO class for the RedG maven plugin
- RedGGeneratorMojo() - Constructor for class de.yamass.redg.plugin.RedGGeneratorMojo
- RedGVisualization - Class in de.yamass.redg.runtime.visualization
- RedGVisualization() - Constructor for class de.yamass.redg.runtime.visualization.RedGVisualization
- RedGVisualizationField - Class in de.yamass.redg.runtime.visualization
- RedGVisualizationField(String, String, String) - Constructor for class de.yamass.redg.runtime.visualization.RedGVisualizationField
- RedGVisualizationObject - Class in de.yamass.redg.runtime.visualization
- RedGVisualizationObject() - Constructor for class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- RedGVisualizationRelation - Class in de.yamass.redg.runtime.visualization
- RedGVisualizationRelation(String, String, String) - Constructor for class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- RedGVisualizationRelation(String, String, String, String) - Constructor for class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- ReferencingEntityModel - Class in de.yamass.redg.extractor.model
-
This is an
EntityModelthat basically contains a reference to a completeEntityModel. - ReferencingEntityModel(String) - Constructor for class de.yamass.redg.extractor.model.ReferencingEntityModel
- ReflectionUtil - Class in de.yamass.redg.jpa
- ReflectionUtil() - Constructor for class de.yamass.redg.jpa.ReflectionUtil
- removeQuotes(String) - Static method in class de.yamass.redg.models.ModelUtil
- resourceExists(String) - Static method in class de.yamass.redg.testing.Helpers
- runScript(Reader) - Method in class de.yamass.redg.util.ScriptRunner
-
Runs an SQL script (read in using the Reader parameter)
S
- SCHEMA_NAME - Static variable in class de.yamass.redg.testing.TestDatabaseContainers
- SchemaInfoRetriever - Interface in de.yamass.redg.schema.vendor
- SchemaInspectionResult - Record Class in de.yamass.redg.schema.model
- SchemaInspectionResult(List<Table>, List<Constraint>, List<Udt>) - Constructor for record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Creates an instance of a
SchemaInspectionResultrecord class. - SchemaInspector - Class in de.yamass.redg.schema.inspector
- SchemaInspector(DatabaseType, DataSource) - Constructor for class de.yamass.redg.schema.inspector.SchemaInspector
- SchemaModelToGeneratorModelTransformer - Class in de.yamass.redg.generator.extractor
-
Transforms a SchemaInspectionResult (from redg-schema-inspection) into a List of TableModel (for redg-generator).
- SchemaModelToGeneratorModelTransformer(String, String, DataTypeProvider, NameProvider, ExplicitAttributeDecider, ConvenienceSetterProvider) - Constructor for class de.yamass.redg.generator.extractor.SchemaModelToGeneratorModelTransformer
- schemaName() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns the value of the
schemaNamerecord component. - schemaName() - Method in class de.yamass.redg.schema.model.MutableTable
- schemaName() - Method in interface de.yamass.redg.schema.model.Table
- schemaName() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns the value of the
schemaNamerecord component. - ScriptRunner - Class in de.yamass.redg.util
-
Tool to run extractor scripts
- ScriptRunner(Connection, boolean, boolean) - Constructor for class de.yamass.redg.util.ScriptRunner
-
Default constructor
- Scripts - Annotation Interface in de.yamass.redg.testing
- setAttributeName(String) - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- setClassName(String) - Method in class de.yamass.redg.models.TableModel
- setColumnName(String) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.ColumnTypeMapping
- setColumns(HashMap<String, String>) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonTableNameData
- setColumns(List<ColumnModel>) - Method in class de.yamass.redg.models.TableModel
- setColumnTypeMappings(List<ColumnTypeMapping>) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TableTypeMapping
- setConnectionString(String) - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- setConstructorParams(List<String>) - Method in class de.yamass.redg.models.JoinTableSimplifierModel
- setConvenienceSetters(List<ConvenienceSetterModel>) - Method in class de.yamass.redg.models.ColumnModel
- setDataType(DataTypeModel) - Method in class de.yamass.redg.models.ColumnModel
- setDbFullTableName(String) - Method in class de.yamass.redg.models.ColumnModel
- setDbFullTableName(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setDbName(String) - Method in class de.yamass.redg.models.ColumnModel
- setDbName(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setDbTableName(String) - Method in class de.yamass.redg.models.ColumnModel
- setDbTableName(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setDbTypeName(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setDefaultTypeMappings(HashMap<String, String>) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.json.TypeMappings
- setDefaultTypeMappings(List<DefaultTypeMapping>) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TypeMappings
- setDefaultValueStrategy(DefaultValueStrategy) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Sets the default value strategy.
- setDelimiter(String, boolean) - Method in class de.yamass.redg.util.ScriptRunner
- setDummy(boolean) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setDummyFactory(DummyFactory) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Sets the new dummy factory, that will be used to generate dummy entities from now on.
- setEntityModeDecider(Function<EntityModel, EntityInclusionMode>) - Method in class de.yamass.redg.extractor.DataExtractor
- setEntityNameProvider(EntityNameProvider) - Static method in class de.yamass.redg.extractor.model.EntityModel
- setExistingEntity(boolean) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setExplicitAttribute(boolean) - Method in class de.yamass.redg.models.ColumnModel
- setExplicitFields(List<RedGVisualizationField>) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setFallbackDataTypeProvider(DataTypeProvider) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- setFallbackNameProvider(NameProvider) - Method in class de.yamass.redg.jpa.JpaMetamodelRedGProvider
- setFallbackStrategy(DefaultValueStrategy) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder
- setForeignKeys(List<ForeignKeyModel>) - Method in class de.yamass.redg.models.TableModel
- setFrom(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- setFullyQualifiedConverterMethodName(String) - Method in class de.yamass.redg.models.ConvenienceSetterModel
- setHasColumnsAndForeignKeys(boolean) - Method in class de.yamass.redg.models.TableModel
- setHibernateDialect(String) - Method in class de.yamass.redg.plugin.JpaProviderConfig
- setId(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setImplicitFields(List<RedGVisualizationField>) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setIncomingForeignKeys(List<IncomingForeignKeyModel>) - Method in class de.yamass.redg.models.TableModel
- setJavaPropertyName(String) - Method in class de.yamass.redg.models.ColumnModel
- setJavaPropertyName(String) - Method in class de.yamass.redg.models.ForeignKeyModel
- setJavaType(String) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.ColumnTypeMapping
- setJavaType(String) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.DefaultTypeMapping
- setJavaTypeName(String) - Method in class de.yamass.redg.models.ColumnModel
- setJavaTypeName(String) - Method in class de.yamass.redg.models.ForeignKeyModel
- setJcrProvider(JavaCodeRepresentationProvider) - Method in class de.yamass.redg.extractor.DataExtractor
- setJdbcDriver(String) - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- setJoinTableSimplifierData(Map<String, JoinTableSimplifierModel>) - Method in class de.yamass.redg.models.TableModel
- setLocalName(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setLocalType(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setMethodParams(Map<String, String>) - Method in class de.yamass.redg.models.JoinTableSimplifierModel
- setName(String) - Method in class de.yamass.redg.generator.extractor.nameprovider.json.JsonTableNameData
- setName(String) - Method in class de.yamass.redg.models.JoinTableSimplifierModel
- setName(String) - Method in class de.yamass.redg.models.TableModel
- setName(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationField
- setName(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- setNotNull(boolean) - Method in class de.yamass.redg.models.ColumnModel
- setNotNull(boolean) - Method in class de.yamass.redg.models.ForeignKeyModel
- setNotNull(boolean) - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- setNotNullRefs(List<EntityModel>) - Method in class de.yamass.redg.extractor.model.EntityModel
- setNotNullRefs(List<EntityModel>) - Method in class de.yamass.redg.extractor.model.ReferencingEntityModel
- setNullableRefs(Map<String, EntityModel>) - Method in class de.yamass.redg.extractor.model.EntityModel
- setObjects(List<RedGVisualizationObject>) - Method in class de.yamass.redg.runtime.visualization.RedGVisualization
- setPackageName(String) - Method in class de.yamass.redg.models.TableModel
- setParameter(PreparedStatement, int, Object, AttributeMetaInfo, Connection) - Method in interface de.yamass.redg.runtime.transformer.PreparedStatementParameterSetter
-
Use this method to customize how RedG sets parameters on a prepared statement.
- setParameter(PreparedStatement, int, Object, AttributeMetaInfo, Connection) - Method in class de.yamass.redg.runtime.transformer.DefaultPreparedStatementParameterSetter
-
Use this method to customize how RedG sets parameters on a prepared statement.
- setPartOfForeignKey(boolean) - Method in class de.yamass.redg.models.ColumnModel
- setPartOfPrimaryKey(boolean) - Method in class de.yamass.redg.models.ColumnModel
- setPassword(String) - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- setPersistenceUnitName(String) - Method in class de.yamass.redg.plugin.JpaProviderConfig
- setPreparedStatementParameterSetter(PreparedStatementParameterSetter) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Sets the PreparedStatementParameterSetter that will be used to set parameter values on
PreparedStatements. - setPrimaryKeyAttributeName(String) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setProviders(List<PluggableDefaultValueProvider>) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.PluggableDefaultValueStrategy
- setReferencingAttributeName(String) - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- setReferencingJavaTypeName(String) - Method in class de.yamass.redg.models.IncomingForeignKeyModel
- setRelationships(List<RedGVisualizationRelation>) - Method in class de.yamass.redg.runtime.visualization.RedGVisualization
- setSetterJavaTypeName(String) - Method in class de.yamass.redg.models.ConvenienceSetterModel
- setSqlFullName(String) - Method in class de.yamass.redg.models.TableModel
- setSqlName(String) - Method in class de.yamass.redg.models.TableModel
- setSqlName(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationField
- setSqlName(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setSqlName(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- setSqlSchemaName(String) - Method in class de.yamass.redg.extractor.DataExtractor
- setSqlType(String) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.DefaultTypeMapping
- setSqlTypeInt(int) - Method in class de.yamass.redg.models.ForeignKeyColumnModel
- setSqlValuesFormatter(SQLValuesFormatter) - Method in class de.yamass.redg.runtime.AbstractRedG
-
Sets the insert value formatter.
- setTableMappings(HashMap<String, HashMap<String, String>>) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.json.TypeMappings
- setTableName(String) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TableTypeMapping
- setTableTypeMappings(List<TableTypeMapping>) - Method in class de.yamass.redg.generator.extractor.datatypeprovider.xml.TypeMappings
- setTo(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationRelation
- setType(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationObject
- setTypeName(String) - Method in class de.yamass.redg.extractor.model.ReferencingEntityModel
- setUnique(boolean) - Method in class de.yamass.redg.models.ColumnModel
- setUseAsDataTypeProvider(boolean) - Method in class de.yamass.redg.plugin.JpaProviderConfig
- setUseAsNameProvider(boolean) - Method in class de.yamass.redg.plugin.JpaProviderConfig
- setUsername(String) - Method in class de.yamass.redg.generator.utils.DatabaseConnectionParameter
- setValue(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualizationField
- setValues(Map<String, EntityModel.ValueModel>) - Method in class de.yamass.redg.extractor.model.EntityModel
- setVariableName(String) - Method in class de.yamass.redg.extractor.model.EntityModel
- setVariableName(String) - Method in class de.yamass.redg.extractor.model.ReferencingEntityModel
- setVersion(String) - Method in class de.yamass.redg.runtime.visualization.RedGVisualization
- SharedDatabasesInvocationProvider - Class in de.yamass.redg.testing
- SharedDatabasesInvocationProvider() - Constructor for class de.yamass.redg.testing.SharedDatabasesInvocationProvider
- sortEntities(List<RedGEntity>) - Static method in class de.yamass.redg.runtime.EntitySorter
- sortEntityModels(List<EntityModel>) - Static method in class de.yamass.redg.extractor.EntityModelSorter
- sourceColumn() - Method in record class de.yamass.redg.schema.model.ForeignKeyColumn
-
Returns the value of the
sourceColumnrecord component. - sourceTable() - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Returns the value of the
sourceTablerecord component. - SqlScripts - Class in de.yamass.redg.testing
- SqlScripts() - Constructor for class de.yamass.redg.testing.SqlScripts
- SQLValuesFormatter - Interface in de.yamass.redg.runtime.insertvalues
- StaticDateProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat provides a static date. - StaticDateProvider(Date) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.StaticDateProvider
- StaticNumberProvider - Class in de.yamass.redg.runtime.defaultvalues.pluggable
-
A
PluggableDefaultValueProviderthat provides a static number. - StaticNumberProvider(long) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.StaticNumberProvider
- StaticNumberProvider(BigDecimal) - Constructor for class de.yamass.redg.runtime.defaultvalues.pluggable.StaticNumberProvider
- supportsTestTemplate(ExtensionContext) - Method in class de.yamass.redg.testing.SharedDatabasesInvocationProvider
T
- table() - Method in record class de.yamass.redg.schema.model.Column
-
Returns the value of the
tablerecord component. - Table - Interface in de.yamass.redg.schema.model
- TableModel - Class in de.yamass.redg.models
-
Model for usage in the stringtemplate template
- TableModel() - Constructor for class de.yamass.redg.models.TableModel
- TableModelExtractor - Class in de.yamass.redg.extractor.tablemodelextractor
- TableModelExtractor() - Constructor for class de.yamass.redg.extractor.tablemodelextractor.TableModelExtractor
- tableName(Predicate<String>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- tables() - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Returns the value of the
tablesrecord component. - TableTypeMapping - Class in de.yamass.redg.generator.extractor.datatypeprovider.xml
- TableTypeMapping() - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.TableTypeMapping
- TableTypeMapping(String, List<ColumnTypeMapping>) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.TableTypeMapping
- targetColumn() - Method in record class de.yamass.redg.schema.model.ForeignKeyColumn
-
Returns the value of the
targetColumnrecord component. - targetTable() - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Returns the value of the
targetTablerecord component. - test(EntityModel) - Method in class de.yamass.redg.extractor.filter.TransitiveEntityFilter
- TestDatabaseContainers - Class in de.yamass.redg.testing
-
Manages shared testcontainers across the module.
- TestDatabaseContainers() - Constructor for class de.yamass.redg.testing.TestDatabaseContainers
- thenCompute(BiFunction<ColumnModel, Class, Object>) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- thenUse(Object) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- thenUseProvider(PluggableDefaultValueProvider) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder.Condition
- toString() - Method in class de.yamass.redg.extractor.model.EntityModel
- toString() - Method in record class de.yamass.redg.schema.model.Column
-
Returns a string representation of this record class.
- toString() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns a string representation of this record class.
- toString() - Method in record class de.yamass.redg.schema.model.ForeignKey
-
Returns a string representation of this record class.
- toString() - Method in record class de.yamass.redg.schema.model.ForeignKeyColumn
-
Returns a string representation of this record class.
- toString() - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Returns a string representation of this record class.
- toString() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns a string representation of this record class.
- toString() - Method in record class de.yamass.redg.schema.model.UdtField
-
Returns a string representation of this record class.
- transform(SchemaInspectionResult) - Method in class de.yamass.redg.generator.extractor.SchemaModelToGeneratorModelTransformer
-
Transforms a SchemaInspectionResult into a list of TableModel objects.
- transformSchemaModel(SchemaInspectionResult, String, String, DataTypeProvider, NameProvider, ExplicitAttributeDecider, ConvenienceSetterProvider) - Static method in class de.yamass.redg.generator.RedGGenerator
-
Transforms a SchemaInspectionResult into a list of TableModel objects.
- TransitiveEntityFilter - Class in de.yamass.redg.extractor.filter
- TransitiveEntityFilter(Predicate<EntityModel>) - Constructor for class de.yamass.redg.extractor.filter.TransitiveEntityFilter
- TRIGGER - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- type() - Method in record class de.yamass.redg.schema.model.Column
-
Returns the value of the
typerecord component. - type() - Method in record class de.yamass.redg.schema.model.Constraint
-
Returns the value of the
typerecord component. - type() - Method in record class de.yamass.redg.schema.model.Udt
-
Returns the value of the
typerecord component. - type() - Method in record class de.yamass.redg.schema.model.UdtField
-
Returns the value of the
typerecord component. - type(Predicate<Class<?>>) - Static method in class de.yamass.redg.runtime.defaultvalues.pluggable.buildermatchers.Matchers
- TypeMap - Class in de.yamass.redg.generator.utils
-
Maps JDBC types to Java classes.
- TypeMap() - Constructor for class de.yamass.redg.generator.utils.TypeMap
- TypeMappings - Class in de.yamass.redg.generator.extractor.datatypeprovider.json
-
The JSON type mapping definition for mapping with Jackson
- TypeMappings - Class in de.yamass.redg.generator.extractor.datatypeprovider.xml
- TypeMappings() - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.json.TypeMappings
- TypeMappings() - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.TypeMappings
U
- Udt - Record Class in de.yamass.redg.schema.model
- Udt(String, String, String, String) - Constructor for record class de.yamass.redg.schema.model.Udt
- Udt(String, String, String, String, List<UdtField>) - Constructor for record class de.yamass.redg.schema.model.Udt
-
Creates an instance of a
Udtrecord class. - UdtField - Record Class in de.yamass.redg.schema.model
- UdtField(String, DataType) - Constructor for record class de.yamass.redg.schema.model.UdtField
-
Creates an instance of a
UdtFieldrecord class. - udts() - Method in record class de.yamass.redg.schema.model.SchemaInspectionResult
-
Returns the value of the
udtsrecord component. - unique() - Method in record class de.yamass.redg.schema.model.Column
-
Returns the value of the
uniquerecord component. - UNIQUE - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- UNKNOWN - Enum constant in enum class de.yamass.redg.extractor.model.EntityModel.ValueModel.ForeignKeyState
- UNKNOWN - Enum constant in enum class de.yamass.redg.schema.model.ConstraintType
- USE_EXISTING - Enum constant in enum class de.yamass.redg.extractor.generationmodes.EntityInclusionMode
V
- value() - Element in annotation interface de.yamass.redg.testing.Databases
- value() - Element in annotation interface de.yamass.redg.testing.Scripts
- ValueModel(String, EntityModel.ValueModel.ForeignKeyState) - Constructor for class de.yamass.redg.extractor.model.EntityModel.ValueModel
- valueOf(String) - Static method in enum class de.yamass.redg.DatabaseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.yamass.redg.extractor.generationmodes.EntityInclusionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.yamass.redg.extractor.model.EntityModel.ValueModel.ForeignKeyState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.yamass.redg.schema.model.ConstraintType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.yamass.redg.DatabaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.yamass.redg.extractor.generationmodes.EntityInclusionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.yamass.redg.extractor.model.EntityModel.ValueModel.ForeignKeyState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.yamass.redg.schema.model.ConstraintType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VisualizationUtil - Class in de.yamass.redg.runtime.visualization
-
The static util class that generate the JSON representation of the object graph
- VisualizationUtil() - Constructor for class de.yamass.redg.runtime.visualization.VisualizationUtil
W
- when(Predicate<ColumnModel>) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder
- whenColumnNameMatches(String) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder
- whenTableNameMatches(String) - Method in class de.yamass.redg.runtime.defaultvalues.DefaultValueStrategyBuilder
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.AbstractDateProvider
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.ConditionalProvider
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.ConstantStringProvider
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.ConstantValueProvider
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.CustomConditionalProvider
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.DefaultDefaultValueProvider
- willProvide(ColumnModel) - Method in class de.yamass.redg.runtime.defaultvalues.pluggable.NumberProvider
- willProvide(ColumnModel) - Method in interface de.yamass.redg.runtime.defaultvalues.pluggable.PluggableDefaultValueProvider
-
Use this to perform your checks whether the class can and should provide a default value.
- withDefaultValueStrategy(DefaultValueStrategy) - Method in class de.yamass.redg.runtime.RedGBuilder
-
Sets the default value strategy
- withDummyFactory(DummyFactory) - Method in class de.yamass.redg.runtime.RedGBuilder
-
Sets the dummy factory
- withPreparedStatementParameterSetter(PreparedStatementParameterSetter) - Method in class de.yamass.redg.runtime.RedGBuilder
-
Sets the PreparedStatement parameter setter
- withSqlValuesFormatter(SQLValuesFormatter) - Method in class de.yamass.redg.runtime.RedGBuilder
-
Sets the SQL values formatter
- writeCodeFile(Path, String, String) - Static method in class de.yamass.redg.generator.utils.FileUtils
X
- XmlFileDataTypeProvider - Class in de.yamass.redg.generator.extractor.datatypeprovider.xml
-
A data type provider that reads the types from a json file.
- XmlFileDataTypeProvider(TypeMappings, DataTypeProvider) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.XmlFileDataTypeProvider
- XmlFileDataTypeProvider(Reader, DataTypeProvider) - Constructor for class de.yamass.redg.generator.extractor.datatypeprovider.xml.XmlFileDataTypeProvider
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Predicate.and(Predicate)instead