@Override
 public TransactionRecord convert(PropertyStore store) throws OseeCoreException {
   int transactionNumber = store.getInt(Entry.TRANSACTION_ID.name());
   TransactionDetailsType txType =
       TransactionDetailsType.valueOf(store.get(Entry.TRANSACTION_TX_TYPE.name()));
   String comment = store.get(Entry.TRANSACTION_COMMENT.name());
   Date time = new Timestamp(store.getLong(Entry.TRANSACTION_TIMESTAMP.name()));
   int authorArtId = store.getInt(Entry.TRANSACTION_AUTHOR_ART_ID.name());
   int commitArtId = store.getInt(Entry.TRANSACTION_COMMIT_ART_ID.name());
   int branchId = store.getInt(Entry.TRANSACTION_BRANCH.name());
   return txRecordFactory.create(
       transactionNumber, branchId, comment, time, authorArtId, commitArtId, txType, branchCache);
 }
  @Override
  public PropertyStore convert(TransactionRecord data) {
    PropertyStore store = new PropertyStore();
    store.put(Entry.TRANSACTION_ID.name(), data.getId());
    store.put(Entry.TRANSACTION_TX_TYPE.name(), data.getTxType().name());
    store.put(Entry.TRANSACTION_COMMENT.name(), data.getComment());
    store.put(Entry.TRANSACTION_TIMESTAMP.name(), data.getTimeStamp().getTime());
    store.put(Entry.TRANSACTION_AUTHOR_ART_ID.name(), data.getAuthor());

    store.put(Entry.TRANSACTION_COMMIT_ART_ID.name(), data.getCommit());

    store.put(Entry.TRANSACTION_BRANCH.name(), data.getBranchId());
    return store;
  }