Mixed Java Bean - RFC Model
I have a RFC generated model (RFCModel) with one class (Z_Employer).
I have a plain java class (Employee) with several attributes, getters and setters.
An attribute of type Z_Employer has been defined for Employee.
|--- String: name
|--- String: surname
|--- String: address
|--- Z_Employer: the_employer
Upon importing Employee in NWDS as Java Bean model, I found out that the Z_Employer field was modelled as a node attribute and not with a relationship/association. As a consequence, a model node based on Employee class would not have a childnode Employer, but only a model attribute Employer.
Build dependency and paths are appropriately set.
Can anyone please explain how to get Employer to be a childnode and not an attribute?