Skip to main content



      Home
Home » Modeling » Papyrus » Model Validation with Papyrus
Model Validation with Papyrus [message #1219236] Mon, 02 December 2013 15:16 Go to next message
Eclipse UserFriend
Dear Members,

How does Papyrus provide an interface to parse and validate the UML2 models? Taking a look at the UML2 Eclipse package I have noticed that there were Java files generated for the metamodel however there is not schema (.xsd) available for UML2. How do these files (e.g. BehavioredClassifier.java which is one of the elements of UML2) get generated? Is validation based upon these Java files?

Many thanks,
Tyler

[Updated on: Tue, 03 December 2013 13:54] by Moderator

Re: Moding with Papyrus [message #1219319 is a reply to message #1219236] Tue, 03 December 2013 05:35 Go to previous message
Eclipse UserFriend
Hello Lee,

In Eclipse in general there exists always an ecore model regarding referenced metamodel and validation. This is also true for UML. In the UML plugins you have a file uml.ecore, based on which the validation happens.

New Papyrus project inside the Eclipse does not have a generator for itself, you are to find yourself through existing mechanisms in Eclipse if you are not targeting Java and Eclipse i would recommend Acceleo. For Eclipse based Java target i would definitely recommend using the Ecore. There are enough documentation on Ecore and its code generation patterns.

This are my personal understanding, maybe some more experienced people can help better.
Previous Topic:Lifeline refers to one instance of a class?
Next Topic:SysML Drag&Drop is not possible for associations
Goto Forum:
  


Current Time: Fri Jul 04 18:16:36 EDT 2025

Powered by FUDForum. Page generated in 0.03550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top