Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Matryoshka Validation
Matryoshka Validation [message #421264] Fri, 01 August 2008 21:51 Go to next message
Sam Julian is currently offline Sam JulianFriend
Messages: 29
Registered: July 2009
Junior Member
Hi Christian,

I have this scenario: letŽs assume an EObject had 3 EAttribute, each
EAttribute musst be validate following formally defined Rules with
different checked pattern. the EObject had its own constraint, those
Constraint can only validate a part(!) of those EAttributes.

for this purpose I do have to associate a constraint with an EAttribute.

Thanks,

Sam
Re: Matryoshka Validation [message #421271 is a reply to message #421264] Sat, 02 August 2008 10:53 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Sam,

You talk about EObject, but I'm sure you've got something more specific,
i.e., a class A with attributes x, y, and z. When you say you need to
associate a constraint with attribute "x", I don't really see how that's
different from a constraint associated with A since anything with an x
will be an A. Checking some constraint for A can involve just the value
of the x attribute or perhaps some aspect of attributes x, y, and z
together. So I don't really see what point you're trying to make and
there is a notable lack of a question mark in your posting...


Sam wrote:
> Hi Christian,
>
> I have this scenario: letŽs assume an EObject had 3 EAttribute, each
> EAttribute musst be validate following formally defined Rules with
> different checked pattern. the EObject had its own constraint, those
> Constraint can only validate a part(!) of those EAttributes.
>
> for this purpose I do have to associate a constraint with an EAttribute.
>
> Thanks,
>
> Sam
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] Idea of a Resource proxy for CDO
Next Topic:bug 240352
Goto Forum:
  


Current Time: Fri Apr 26 21:20:03 GMT 2024

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

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

Back to the top