Skip to main content



      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] Thu, 08 June 2006 23:34
Eclipse UserFriend
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: Mon May 19 23:13:38 EDT 2025

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

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

Back to the top