isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen van der Wal <jer...@stromboli.it>
Subject Re: How can i specify the property that is displyed in a 1:1 association
Date Wed, 22 Mar 2017 16:41:06 GMT
Something like this?

public class Parent {
    @Getter @Setter
    private Child child;

    public String getChildName() {
        return getChild().getName();
    }
}

public class Child {
    @Getter @Setter
    private String name;
}







On 22 March 2017 at 15:46, L Eder <eder2007np@gmail.com> wrote:

> Hi members:
>
> Child class
>
>
> In a parent-child object association, how could i have a derived
> property in the child class being rendered
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message