package Ġorg . j molec ules . ddd . annotation Ċ Ċ /** Ċ Ġ* ĠIdent ifies Ġa Ġ[ Repository ]. ĠRe positories Ġsimulate Ġa Ġcollection Ġof Ġaggreg ates Ġto Ġwhich Ġaggregate Ġinstances Ġcan Ġbe Ċ Ġ* Ġadded Ġand Ġremoved . ĠThey Ġusually Ġalso Ġexpose ĠAPI Ġto Ġselect Ġa Ġsubset Ġof Ġaggreg ates Ġmatching Ġcertain Ġcriteria . ĠAccess Ġto Ċ Ġ* Ġprojection s Ġof Ġan Ġaggregate Ġmight Ġbe Ġprovided Ġas Ġwell Ġbut Ġalso Ġvia Ġa Ġdedicated Ġseparate Ġabstraction . Ċ Ġ* Ċ Ġ* ĠImplement ations Ġuse Ġa Ġdedicated Ġpersistence Ġmechanism Ġappropriate Ġto Ġthe Ġdata Ġstructure Ġand Ġquery Ġrequirements Ġat Ċ Ġ* Ġhand . ĠHowever , Ġthey Ġshould Ġmake Ġsure Ġthat Ġno Ġpersistence Ġmechanism Ġspecific ĠAPIs Ġleak Ġinto Ġclient Ġcode . Ċ Ġ* Ċ Ġ* ĠKotlin 's Ġcounter part Ġof Ġthe ĠJava 's Ġ[ Repository ]( https :// github . com / x molec ules / j molec ules / blob / main / j molec ules - ddd / src / main / java / org / j molec ules / ddd / annotation / Repository . java ) Ċ Ġ* Ċ Ġ* Ġ@ author ĠJ oc el yn ĠNt ak pe Ċ Ġ* Ċ Ġ* ĠSee Ġalso Ġ: Ġ[ Aggregate Root ] Ċ Ġ* ĠSee Ġalso Ġ: Ġ[ Domain - D riven ĠDesign ĠReference Ġ( Ev ans ) Ġ- ĠRe positories ]( https :// domain language . com / wp - content / uploads / 2 0 1 6 / 0 5 / DDD _ Reference _ 2 0 1 5 - 0 3 . pdf ) Ċ Ġ*/ Ċ @ Retention Ċ @ Must Be Document ed Ċ @ Target ( Annotation Target . CLASS ) Ċ annotation Ġclass ĠRepository Ċ