|Re: [EMF Validation] EMF Validation Framework [message #895026 is a reply to message #895011]
||Wed, 11 July 2012 12:48
| Ed Merks
Registered: July 2009
If you look in Ecore.ecore, you'll see that EPackage has an annotation
<eClassifiers xsi:type="ecore:EClass" name="EPackage"
<details key="constraints" value="WellFormedNsURI
WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames
I'm suggesting you add such an annotation to your model (the EClass for
the pattern instance) and look at your generated validator.
On 11/07/2012 2:04 PM, wiwa wiwa wrote:
> I try to apply "validateEPackage_UniqueClassifierNames" constraint,but
> it does not taken into account in the runtime application!!
> I think that the problem is the ePackage parametre because in the
> instance model all the elements are EClassifier.
> What are you saying??
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01792 seconds