For the purpose of Compilation, in the DMNModel the DRGElements are stored with their full ID, so an ElementReference might reference in two forms:
- #id (a local to the model ID)
- namespace#id (an imported DRGElement ID)
This method now returns in the first case the proper ID, while leave unchanged in the latter case, in order for the ID to be reconciliable on the DMNModel.
DMN v1.2 spec, chapter 7.3.2 ItemDefinition metamodel
FEEL built-in data types: number, string, boolean, days and time duration, years and months duration, time, and date and time.
Return a FEEL instance to be used in invokers/impls, which is however configured correctly accordingly to profiles
This FEEL instance is potentially not the same shared by the compiler during the compilation phase.