Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » validation with ocl: Reading constraints from a custom file
validation with ocl: Reading constraints from a custom file [message #580229] Fri, 09 June 2006 03:34
Selcuk Aya is currently offline Selcuk AyaFriend
Messages: 13
Registered: July 2009
Junior Member
Hi,
I have some files with a custom format and they include OCL constraints
which point to my meta model. I would like to be able to feed them to the
emft validation framework so that they can be enforced on my emf model. It
seems to me that, the right way of providing a dynamic constraint provider
like this would be to extend the AbstractConstraintProvider class. The new
class should ideally read the constraints from the custom file and provide
it to the validation framework. However, how do we integrate this dynamic
provider to the rest of the validation framework? When a constraint
provider extension is read, the class attribute of the extension is
checked to see if a provider other the XMLCostraintProvider should be
created. However, constraint_provider exsd says this class attribute is
for internal use. Should I use this attribute or is there another way of
integrating a custom provider with the rest of the framework?

I would appreciate any pointers,
thanks
Previous Topic:[Announce] EMFT JET 1.0.0 I200606081223 is available
Next Topic:validation with ocl: Reading constraints from a custom file
Goto Forum:
  


Current Time: Sun May 19 04:39:37 GMT 2024

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

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

Back to the top