package Ġkr . ac . sn u . hc il . om n itr ack . core . system Ċ Ċ import Ġkr . ac . sn u . hc il . om n itr ack . core . connection . OT Measure Factory Ċ import Ġkr . ac . sn u . hc il . om n itr ack . core . database . models . OT Field DAO Ċ import Ġkr . ac . sn u . hc il . om n itr ack . core . external s . OT External Service Manager Ċ Ċ class ĠO T Measure Factory Manager ( val Ġservice Manager : ĠO T External Service Manager , Ġprivate Ġval Ġitem Measure Factory Manager : ĠO T Item Dynamic Measure Factory Manager ) Ġ{ ĊĊĠĠĠ Ġfun Ġget Attach able Measure Factories ( field : ĠO T Field DAO ): ĠList < OT Measure Factory > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġservice Manager . get Filtered Measure Factories Ġ{ Ġit . getAttribute Type () Ġ== Ġfield . type Ġ} Ġ+ Ġitem Measure Factory Manager . get Attach able Measure Factories ( field ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Measure Factory By Code ( type Code : ĠString ): ĠO T Measure Factory ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġservice Manager . get Measure Factory By Code ( type Code ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġitem Measure Factory Manager . get Measure Factory By Code ( type Code ) ĊĠĠĠ Ġ} Ċ }