load referrer of cmkishtesuryolist by the set-upper of referrer . cm_kish_tesuryo by cm_kaisha_id , named ` cmkishtesuryolist ' . cmkaishabhv.load cmkaishalist , kaishaloader - > kaishaloader.loadcmkishtesuryo tesuryocb - > tesuryocb.setupselect ... tesuryocb.query . set ... tesuryocb.query . addorderby ... ; / / you can load nested referrer from here / / . withnestedreferrer tesuryoloader - > / / tesuryoloader.load ... / / ; ; for cmkaisha cmkaisha : cmkaishalist ... = cmkaisha.getcmkishtesuryolist ; about internal policy , the value of primary key and others too is treated as case-insensitive . the condition-bean , which the set-upper provides , has settings before callback as follows : cb.query . setcmkaishaid_inscope pklist ; cb.query . addorderby_cmkaishaid_asc ; concode_field_sep List<CmKaisha> _selectedList concode_elem_sep CmKaishaBhv _myBhv concode_elem_sep BehaviorSelector _selector concode_elem_sep List<CmKishTesuryo> _referrerCmKishTesuryo concode_elem_sep List<CmKishRenrakusaki> _referrerCmKishRenrakusaki concode_elem_sep List<CmShain> _referrerCmShain concode_field_sep List<CmKaisha> getSelectedList concode_elem_sep NestedReferrerLoaderGateway<LoaderOfCmKishRenrakusaki> loadCmKishRenrakusaki concode_elem_sep BehaviorSelector getSelector concode_elem_sep LoaderOfCmKaisha ready concode_elem_sep NestedReferrerLoaderGateway<LoaderOfCmShain> loadCmShain concode_elem_sep CmKaishaBhv myBhv
NestedReferrerLoaderGateway < LoaderOfCmKishTesuryo > function ( ReferrerConditionSetupper < CmKishTesuryoCB > arg0 ) { myBhv ( ) . loadCmKishTesuryo ( _selectedList , arg0 ) . withNestedReferrer ( refLs -> _referrerCmKishTesuryo = refLs ) ; return hd -> hd . handle ( new LoaderOfCmKishTesuryo ( ) . ready ( _referrerCmKishTesuryo , _selector ) ) ; }