Added helper method to lookup for inverse relations regardless of the upper/lower case in the relation encoding
This commit is contained in:
parent
5845f4fea0
commit
38c82b032e
|
@ -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.
|
||||||
*/
|
*/
|
||||||
public RelationInverse findInverse(String encoding) {
|
public static RelationInverse findInverse(String encoding) {
|
||||||
return ModelSupport.relationInverseMap
|
return ModelSupport.relationInverseMap
|
||||||
.entrySet()
|
.entrySet()
|
||||||
.stream()
|
.stream()
|
||||||
|
|
Loading…
Reference in New Issue