Lookup Type Entity Annotation

Just for my understanding:

I’m wondering why the Lookup Type is part of the entity definition.

@Lookup(type = LookupType.DROPDOWN, actions = {"lookup", "open", "clear"})

It seems like it’s not a JPA Annotation and more like a look-and-feel thing.
Therefore, for me it would be more intuitive if it was a property of the Screen Component.

What do you think?

It’s actually a hint for various mechanisms on how to display the reference. See details in the docs.

Such hint on the data model is a basic source of information which can be overridden by setting up certain visual components if needed.