|
Re: how to use the two parameters in validate methods [message #697282 is a reply to message #697281] |
Sat, 16 July 2011 01:55 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Probably you should just use Diagnostician.INSTANCE.validate to check
all constraints.
On 15/07/2011 6:43 PM, Wuwei wrote:
> I would like to create a class diagram using a Java program. After
> that, I would like to use the validate methods to verify whether the
> class diagram is a valid instance of the UML metamodel. It seems each
> validate method has two parameters:
> diagnostics and context. How can I use them, for example
> validateMultiplicityOfComposite(...) for a Property. Right now I just
> set to null.
> Thanks.
> Wuwei
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03423 seconds