Class SearchPathUtil
java.lang.Object
nl.datasteel.crudcraft.codegen.writer.search.SearchPathUtil
Utility for converting between dotted paths and DTO properties.
-
Method Summary
-
Method Details
-
toProperty
Converts a dotted path (e.g., "parent.child") to a DTO property name (e.g., "parentChild").- Parameters:
path
- the dotted path to convert- Returns:
- the corresponding DTO property name
-
buildPath
Builds a CriteriaBuilder path from a dotted property path.- Parameters:
path
- the dotted path- Returns:
- the builder path expression
-