Interface ModelWalkerCallback
-
public interface ModelWalkerCallbackA callback which is required and notified byCascadingModelWalkerin the course of walking through the model graph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfoundNewDependencies(ModelWrapper parentWrapper, java.lang.String attribute, java.util.Collection<ModelWrapper> dependencies)Notifies that a dependency has been found.booleanfoundNewWrapper(ModelWrapper wrapper)Notifies that a new model has been found.
-
-
-
Method Detail
-
foundNewWrapper
boolean foundNewWrapper(ModelWrapper wrapper)
Notifies that a new model has been found.- Parameters:
wrapper- the new model- Returns:
- true if walker should process the internals of the newly found model; false otherwise
-
foundNewDependencies
void foundNewDependencies(ModelWrapper parentWrapper, java.lang.String attribute, java.util.Collection<ModelWrapper> dependencies)
Notifies that a dependency has been found.- Parameters:
parentWrapper- the "owner" of dependenciesattribute- the attribute by which the dependencies have been founddependencies- the dependent models
-
-