[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [mdt-bpmn2.dev] ItemDefinition.import transient?
- From: Bob Brodt <bbrodt@xxxxxxxxxx>
- Date: Fri, 13 Jul 2012 08:35:07 -0400 (EDT)
- Delivered-to: email@example.com
Thanks Reiner. It looks like you were right, the xsd in the BPMN 2.0 spec does not have an "import" element, although the class diagram shows an optional reference to an Import - good call ;) I was able to get around this by resolving the Import reference in the Resource loader.
Enjoy your vacation :)
----- Original Message -----
> Hi Bob,
> I'm on vacation, so I can't look into the source code right now. But
> I remember that I had some rule in the merge tool how to set the
> Transiient=false would mean that there is a MOF attribute in the
> metamodel that can't be persisted, propably because there is no
> equivalent in the XSD schema. If you say there is a representation
> of the reference in XSD, maybe there was simply a mapping missing
> during merge. You can try what happens if you change to true. But
> carefully check if the result is compliant to the XSD.
> Best regards,
> Am 10.07.2012 um 22:22 schrieb "Bob Brodt" <bbrodt@xxxxxxxxxx>:
> > Hi all,
> > I'm currently working on import functionality in the bpmn2 modeler.
> > The goal is to automatically create Interface, Operation, Message,
> > ItemDefinition, etc. elements (based on the type and contents of
> > file being imported) as necessary.
> > It would be nice to be able to reference the Import from an
> > ItemDefinition such that, when an Import is removed, the
> > ItemDefinitions that were created by that Import can be removed as
> > well. The ItemDefinition does have an import reference, but this
> > is marked as "transient" in the model. I can't think of any reason
> > why this should be the case, and the BPMN2 spec. doesn't indicate
> > that this is a transient or derived attribute.
> > Is this a bug in the bpmn2 metamodel or am I missing something?
> > ________________________
> > Robert ("Bob") Brodt
> > Senior Software Engineer
> > JBoss by Red Hat
> > _______________________________________________
> > mdt-bpmn2.dev mailing list
> > mdt-bpmn2.dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/mdt-bpmn2.dev
> mdt-bpmn2.dev mailing list