Class ModuleConstraintIterator
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.modulesupport.ModuleConstraintIterator
- All Implemented Interfaces:
Iterator<ConstraintInfo>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Only includes relations, whose source entity has not been defined in the given module. -
Constructor Summary
ConstructorDescriptionModuleConstraintIterator
(DatabaseTypeMap typeMap, AppModule module, DataModelSupport dataModelSupport, Iterator<RelationModel> iterator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ModuleConstraintIterator
public ModuleConstraintIterator(DatabaseTypeMap typeMap, AppModule module, DataModelSupport dataModelSupport, Iterator<RelationModel> iterator)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<ConstraintInfo>
-
next
- Specified by:
next
in interfaceIterator<ConstraintInfo>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<ConstraintInfo>
-