|
|
|
|
|
Re: [xcore] How to set a class type variable [message #1736740 is a reply to message #1736665] |
Fri, 01 July 2016 12:00 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Chris,
Comments below.
On 30.06.2016 22:52, chris yo wrote:
> Hi Ed,
>
> I tried to change it to a reference. So my xcore is now like this:
>
>
> class Information {
> String sName
> String birthday
> String age
> }
>
> class Directory {
> String name
> String address
> refers Information xInfo
> }
>
>
> The implementation code stays the same. But I am still getting the
> same problem.
It was never clear to me what your original problem was. I did explain
that validation is not the place to change your model.
> Does it still need its own copy in this case?
No, in this case the Information needs to be contained somewhere else.
In any case, you should set breakpoints and figure out what is going on.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04144 seconds