Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Unique Id and Validation
Unique Id and Validation [message #590143] Tue, 17 April 2007 05:04
Jens Krause is currently offline Jens Krause
Messages: 3
Registered: July 2009
Junior Member
Hi there,

i have a GMF diagram and want to use the EMFT Validation in there.

I thougth if i set the attribute "unique" of an EClass attribute to true
in my ecore file, the validation automatically checks if this id is
really unique. But it seems that isn't so.

For better understanding here a short view of my structure:

EClass Field
|
+- EAttribute id, Type "ID <java.lang.String>"
|
+- Unique "true"


But if i now set the same id for 2 Fields, no error is shown. Do i have
to increase the priority for the validation provider. It's now set to
"medium". Or do i have to add an extra Audit Rule for that?

Sorry for the crossposting, but i thought this could match both newsgroups.

reagards
Jens K.


** f'up set to eclipse.modeling **
Previous Topic:how to customize the UI generated by EMF
Next Topic:Unique Id and Validation
Goto Forum:
  


Current Time: Wed Aug 27 07:11:17 EDT 2014

Powered by FUDForum. Page generated in 0.01613 seconds