package Ġde . d hb w . ka . storage . factories Ċ Ċ import Ġde . d hb w . ka . storage . h 2 . H 2 Member Storage Ċ import Ġde . d hb w . ka . storage . interfaces . Member Storage Ċ Ċ interface ĠMember Storage Factory Ġ{ ĊĠĠĠ Ġfun Ġcreate Member Storage From Type ( storage Type : ĠString ) Ġ: ĠMember Storage Ċ } Ċ Ċ class ĠStandard Member Storage Factory Ġ: ĠMember Storage Factory Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcreate Member Storage From Type ( storage Type : ĠString ): ĠMember Storage Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwhen Ġ( storage Type ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" h 2 " Ġ-> ĠH 2 Member Storage () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġthrow ĠException (" I Ġdon 't Ġknow Ġhow Ġto Ġcreate Ġstorage Ġfrom Ġtype Ġ$ storage Type ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ