Re: data element type from the RM

2019-10-10 Thread Seref Arikan
Hi Georg, Do not confuse the RM model aspects with a particular serialisation format's aspects. RM is technology agnostic, it contains a definition of types which can be implemented via most mainstream (OO) programming languages. Json or XML form of data is a 'serialisation' of an object, which i

Re: data element type from the RM

2019-10-10 Thread Pieter Bos
In a serialized RM instance there is always a field that lets you know what the class is, for example standardized as discussed before in xml, and as the field _type in json. If you have this mapped as actual objects in memory in your system, those usually have something in place to determine w

Re: data element type from the RM

2019-10-10 Thread Diego Boscá
I think short answer is that you need to be aware of the templates/archetypes when executing the AQL. Each node in the archetype has either an at code or a archetypeid in the archetype node id attribute, that's how you link both. El jue., 10 oct. 2019 a las 12:19, Georg Fette (< georg.fe...@un

Re: data element type from the RM

2019-10-10 Thread Georg Fette
But if the class is contained within a template instance only within some technical background information and it is not part of the reference model, how can a query mechanism like AQL use this information during query execution ? How does an AQL query engine know that an archetype based on Comp

Re: data element type from the RM

2019-10-09 Thread Pablo Pazos
That is not a RM attribute, is the class. In XML the xsi:type is needed because for generic types it is not possible to tell the internal structure without specifying the type. That type is the class in the RM. On Wed, Oct 9, 2019 at 6:27 AM Georg Fette wrote: > Hello, > Which is the field that