Class ModuleEntityIterator
java.lang.Object
ch.tocco.nice2.model.entity.api.util.ModuleEntityIterator
- All Implemented Interfaces:
Iterator<EntityModel>
An iterator iterating over all entity models specified in a module. It returns those
EntityModel
s
that are either defined or extended in the given module.-
Constructor Summary
ConstructorDescriptionModuleEntityIterator
(AppModule module, NiceDataModel datamodel) ModuleEntityIterator
(String moduleName, NiceDataModel dataModel) -
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
-
ModuleEntityIterator
-
ModuleEntityIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<EntityModel>
-
next
- Specified by:
next
in interfaceIterator<EntityModel>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<EntityModel>
-