Notifications
Clear all

[Solved] ModelType by ModelLevelType?

1 Posts
1 Users
4 Reactions
1,350 Views
1
Topic starter

I have ModelLevelType value.

How to get ModelType?

1 Answer
1
Topic starter

Need to get LevelMappingHelper by ModelLevelType and get ModelType from its parent:

LevelMappingHelper levelHelper = LevelMappingHelper.get(modelLevelType);
ModelType modelType = levelHelper.getParent().getModelType();