|
Re: What triggers the EObjectValidator to generate? [message #401153 is a reply to message #401152] |
Tue, 16 May 2006 12:14 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
Drew,
The generator looks to see if there are any constraints on any of the
classifiers (GenClassifier.getGenConstraints). Facets on simple types
are constraints. Annotations as fetched by EcoreUtil.getConstraints are
constraints. And invariant operations on EClasses are constraints. If
there are no constraints, the EObjectValidator is sufficient for
performing validation so a derived instance isn't generated.
Drew wrote:
> I have two ecore models the first one is derived from a .xsd schema , the
> second I created from scratch. The one I created from scratch does not get
> an Instance of EObjectValidator generated to its .util dir. What model
> settings drive the creation of the EObjectValidator?
>
> thanks,drew
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03756 seconds