public static void loadStore(PropertyStore store, AbstractBranchCacheMessage message) { List<BranchRow> rows = message.getBranchRows(); for (int index = 0; index < rows.size(); index++) { BranchRow row = rows.get(index); store.put(TranslationUtil.createKey(Fields.BRANCH_ROW, index), row.toArray()); } store.put(Fields.BRANCH_COUNT.name(), rows.size()); TranslationUtil.putMap(store, Fields.CHILD_TO_PARENT, message.getChildToParent()); TranslationUtil.putMap(store, Fields.BRANCH_TO_BASE_TX, message.getBranchToBaseTx()); TranslationUtil.putMap(store, Fields.BRANCH_TO_SRC_TX, message.getBranchToSourceTx()); TranslationUtil.putMap(store, Fields.BRANCH_TO_ASSOC_ART, message.getBranchToAssocArt()); TranslationUtil.putArrayMap(store, Fields.BRANCH_TO_ALIASES, message.getBranchAliases()); TranslationUtil.putTripletList(store, Fields.SRC_DEST_MERGE, message.getMergeBranches()); }