Lookup table or code table modeling

Hi - i’m trying to figure out the best way of doing this and oddly enough not finding a lot of information.

I did find only one reference in one book and it list just a simple association with a multiplicity of 1 at the lookup table class and 0…* at the class which references the lookup table. This is a pretty direct translation from an entity model.

Another possible approach is to set the lookup table class as an attribute of the main class.

In the first method, i think it can be taken one step further by setting the navigability pointing from the main class to the lookup table class. This has the added benefit that there is no generated java code for the lookup table class pointing back to the referencing class(es).

I’d appreciate any thoughts on this or other approaches.

thanks

steve