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 <[email protected]> wrote:

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

Reply via email to