Typesystem and accessory models

Hi!

 

I was wondering if it's possible to define types in the typesystem with accessory models?

I have made some "baseclasses" for Int, String and Boolean for my project with accessory models:

In my structure I have StringConstant, BoolConstant and IntConstant

I was wondering if it's possible to define the type of these constants to be the ones in the accessory model?

Like this:

Is this possible or is there another approach?

1
2 comments

Perhaps you can take inspiration from BeseLanguage's ClassifierConcept. Have a concept that acts like a type and has a reference to a class.

2

I had a look and found a solution! Thanks :)

0

Please sign in to leave a comment.