-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mappings property of DV_TEXT is missing mandatory field in BMM file #5
Comments
I'm slightly confused: |
Yes. P_BMM_CONTAINER_PROPERTY has type of type_def redefined as type_def: P_BMM_CONTAINER_TYPE Looking at the documentation for P_BMM_CONTAINER_TYPE we can see that it has a mandatory type_def: P_BMM_TYPE field. So my expectation for the type_def attribute in the snippet above would be that it would have a nested type_def like this:```
I'm completely confused :) |
I know, but I'm not referring to the UML diagram. It is the html version of the specifications that is defining the mandatory field I'm talking about. Please see the html version of the spec for P_BMM_CONTAINER_TYPE |
Ah now I get it. Sorry, was staring at the wrong bit of the diagram. Firstly, you are right - that This will all go away in BMM3, which will have a syntax something like Ecore model syntax. Sorry for the confusion! BTW, that |
Thanks a lot for the clarification! |
@wolandscat In basic types bmm, mapping property of DV_TEXT is defined as follows:
According to specs,
type_def
has typeP_BMM_CONTAINER_TYPE
and this type has a mandatorytype_def
field . Based on the definition, it feels like type_def should not be mandatory. If I'm wrong, then it should be written in the bmm file but I have no idea what purpose it would serve here...The text was updated successfully, but these errors were encountered: