private void onParseRelation ( Object entity , final PersistenceDelegator pd , EntityMetadata targetEntityMetadata , Object relationEntity , Relation relation , boolean lazilyloaded , Map < Object , Object > relationStack ) { parseRelations ( entity , getEntity ( relationEntity ) , getPersistedRelations ( relationEntity ) , pd , targetEntityMetadata , lazilyloaded , relationStack ) ; // if relation ship is unary, no problem else we need to add setRelationToEntity ( entity , relationEntity , relation ) ; }
Invokes parseRelations for relation entity and set relational entity within entity