On 2018/08/28 22:14:11, Stephen Cameron <[email protected]> wrote:
> You have to use setters everywhere, that is the way DataNucleus does its
> magic, at the class level it has enhanced the getters and setters to manage
> persistence.
>
> so instead of
> this.domicilio = domicilio;
>
> use
> this.setDomicilio(domicilio);
>
> On Wed, Aug 29, 2018 at 7:44 AM [email protected] <
> [email protected]> wrote:
>
> > We’re trying to do a 1-1 relation between a class Person and a class
> > Address but when we make this relation and we prove it on the Web Layout
> > the Addres value stay at “none” no mather what we do even if we first
> > créate the object Address.
> >
> > You can see our Project at:
> > https://github.com/Practica2-Ifes/MantenimientoPredictivo/tree/ClasePersona
> >
> > Thanks for the help.
> >
> >
> Hi thenks for replying, we just changed all the setters and getter and the
> constructors (we were using lombok but we didn't know if it is good we're
> newbies at isis) still the domicilio layout don't show when we create an
> object of the type Domicilio. Any others ideas? Thanks again.