Re: [mdr-users] How does work the consistency rules in a metamodel?
Martin Matula <[email protected]> Mon, 06 Feb 2006 16:07:11 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Luiz, try to call refVerify() on the object. Martin [email protected] wrote: > Hi, > > I have some questions about constraints and consistency rules. Does MDR > get to verify constraints like cardinality by itself? For example, the > metamodel Projects in MDR Web Site has 2 elements called Project and > ClassPath where One Project must have at least a ONE associated ClassPath. > But I get insert a Project instance without a ClassPath instance. Is there > any way to make the MDR verify this? > > Thanks, > > Luiz Felipe