Package org.infinispan.client.hotrod.query.testdomain.protobuf

Examples of org.infinispan.client.hotrod.query.testdomain.protobuf.TransactionPB


      int accountId = reader.readInt("accountId");
      long date = reader.readLong("date");
      double amount = reader.readDouble("amount");
      boolean isDebit = reader.readBoolean("isDebit");

      TransactionPB transaction = new TransactionPB();
      transaction.setId(id);
      transaction.setDescription(description);
      transaction.setAccountId(accountId);
      transaction.setDate(new Date(date));
      transaction.setAmount(amount);
      transaction.setDebit(isDebit);
      return transaction;
   }
View Full Code Here

TOP

Related Classes of org.infinispan.client.hotrod.query.testdomain.protobuf.TransactionPB

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.