Class IteratorFactoryImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.model.IteratorFactoryImpl
- All Implemented Interfaces:
IteratorFactory
Factory for builders for column/constraint iterators
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dbrefactoring.impl.model.IteratorFactory
IteratorFactory.ColumnIteratorBuilder, IteratorFactory.ConstraintIteratorBuilder
-
Constructor Summary
ConstructorDescriptionIteratorFactoryImpl
(DatabaseTypeMap typeMap, DataModelSupport dataModelSupport, L10N l10n) -
Method Summary
Modifier and TypeMethodDescriptioncreateColumnIterator
(EntityModel entityModel) createConstraintIterator
(EntityModel entityModel) Returns an iterator that iterates over all relations of a module that are defined on entities not defined in the given module.Creates an iterator over all entity models.createModuleEntityIterator
(AppModule module) Returns an iterator over all entity model of the given module.
-
Constructor Details
-
IteratorFactoryImpl
-
-
Method Details
-
createColumnIterator
- Specified by:
createColumnIterator
in interfaceIteratorFactory
-
createConstraintIterator
- Specified by:
createConstraintIterator
in interfaceIteratorFactory
-
createExtendedRelationsConstraintIterator
Description copied from interface:IteratorFactory
Returns an iterator that iterates over all relations of a module that are defined on entities not defined in the given module.- Specified by:
createExtendedRelationsConstraintIterator
in interfaceIteratorFactory
-
createRemovedRelationsIterator
- Specified by:
createRemovedRelationsIterator
in interfaceIteratorFactory
-
createExtendedRelationsColumnIterator
- Specified by:
createExtendedRelationsColumnIterator
in interfaceIteratorFactory
-
createModuleEntityIterator
Description copied from interface:IteratorFactory
Returns an iterator over all entity model of the given module. IfincludedEntities
is non empty, it will only include entity models with names from the set.- Specified by:
createModuleEntityIterator
in interfaceIteratorFactory
-
createModuleEntityIterator
Description copied from interface:IteratorFactory
Creates an iterator over all entity models.- Specified by:
createModuleEntityIterator
in interfaceIteratorFactory
-