Added helper method to lookup for inverse relations regardless of the upper/lower case in the relation encoding
This commit is contained in:
parent
3cd16d6bb1
commit
5845f4fea0
|
@ -163,7 +163,7 @@ public class ModelSupport {
|
||||||
* @param encoding
|
* @param encoding
|
||||||
* @return the relation inverse descriptor, throws @IllegalArgumentException when not found.
|
* @return the relation inverse descriptor, throws @IllegalArgumentException when not found.
|
||||||
*/
|
*/
|
||||||
private RelationInverse findInverse(String encoding) {
|
public RelationInverse findInverse(String encoding) {
|
||||||
return ModelSupport.relationInverseMap
|
return ModelSupport.relationInverseMap
|
||||||
.entrySet()
|
.entrySet()
|
||||||
.stream()
|
.stream()
|
||||||
|
|
Loading…
Reference in New Issue