Added helper method to lookup for inverse relations regardless of the upper/lower case in the relation encoding

dhp-schemas-2.8.22.1
Claudio Atzori 2 years ago
parent 5845f4fea0
commit 38c82b032e

@ -163,7 +163,7 @@ public class ModelSupport {
* @param encoding
* @return the relation inverse descriptor, throws @IllegalArgumentException when not found.
*/
public RelationInverse findInverse(String encoding) {
public static RelationInverse findInverse(String encoding) {
return ModelSupport.relationInverseMap
.entrySet()
.stream()

Loading…
Cancel
Save