|
|
|
Re: encode UMLModel [message #628183 is a reply to message #628170] |
Mon, 11 January 2010 21:25 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Randi,
There's org.eclipse.uml2.uml/model/UML.ecore which is the Ecore model
for UML. EMF using that information to serialize and deserialize
instances. Ecore is isomorphic to the OMG's EMOF and can be serialized
in that form with the Sample Ecore Editor by saving to a file with emof
extension.
Randi wrote:
> Hello Ed,
>
> Thanks for the reply.
>
> Wel what I wanted to do is the following:
>
> A developper makes a UMLModel eg in Eclipse or another tool let say
> ArgoUML. Then this model is exported in XMI for interchange. What I
> want to do is import this model into the Jade(multi-agent tilab)
> platform in the contentslot as XMI.So I want to give as content to an
> agent the XMI . But within this agent I need to show some metrics
> about this model eg amount of classes, amount of operations etc.So I
> thought to decode the xmi within the agent in a Java Object(s) so I
> can use some methods to organise the metrics. What I need to do is
> make an ontology for the UMLModel in the Jade environment . So how is
> the exported XMI build up , or where can I find some more information
> about it.How can I parse this XMI with UML modelcontent
> I thought to do this in Protege by importing the UML2XMI.xsd, but this
> failed due to a bad structure.
>
> If I find a way to build up an ontology for the UMLModel I can
> decode/encode this into JavaObject(s)
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03545 seconds