Class NavigablePathMapToInitializer
- java.lang.Object
-
- org.hibernate.sql.results.internal.NavigablePathMapToInitializer
-
public final class NavigablePathMapToInitializer extends Object
This is in all practical terms aMap<NavigablePath, Initializer>
but wrapping an HashMap so to keep the client code readable as we need to: a) have a way to log all initializers b) prevent type pollution from happening on Initializer retrieval I also consider it good practice to only expose the minimal set of operations the client actually needs.
-
-
Constructor Summary
Constructors Constructor Description NavigablePathMapToInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Initializer<?>
get(NavigablePath navigablePath)
void
logInitializers()
void
put(NavigablePath navigablePath, Initializer<?> initializer)
-
-
-
Method Detail
-
get
public Initializer<?> get(NavigablePath navigablePath)
-
put
public void put(NavigablePath navigablePath, Initializer<?> initializer)
-
logInitializers
public void logInitializers()
-
-