Externalizable Business Objects 1-to-n References
Introduction
Data dictionary relationship
<dd:relationship objectAttribute="awards" targetClass="org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation"> <dd:primitiveAttribute source="chartOfAccountsCode" target="chartOfAccountsCode" /> <dd:primitiveAttribute source="accountNumber" target="accountNumber" /> </dd:relationship>
Note: must include ExternalizableBusinessObject
 sub-interface
Define getter method in parent table
public List<ContractsAndGrantsAccountAwardInformation> getAwards() { // TODO this code totally breaks modularization but can't be fixed until data dictionary modularization plans come down the pike awards = (List)SpringContext.getBean(KualiModuleService.class) .getResponsibleModuleService(ContractsAndGrantsAccountAwardInformation.class) .retrieveExternalizableBusinessObjectsList(this, "awards", ContractsAndGrantsAccountAwardInformation.class); return awards; }