Examples of STransactionImpl


Examples of com.jenginetest.builder.model.impl.STransactionImpl

   *
   * @param transactionId the primary key for the new s transaction
   * @return the new s transaction
   */
  public STransaction create(long transactionId) {
    STransaction sTransaction = new STransactionImpl();

    sTransaction.setNew(true);
    sTransaction.setPrimaryKey(transactionId);

    return sTransaction;
  }
View Full Code Here

Examples of com.jenginetest.builder.model.impl.STransactionImpl

  protected STransaction toUnwrappedModel(STransaction sTransaction) {
    if (sTransaction instanceof STransactionImpl) {
      return sTransaction;
    }

    STransactionImpl sTransactionImpl = new STransactionImpl();

    sTransactionImpl.setNew(sTransaction.isNew());
    sTransactionImpl.setPrimaryKey(sTransaction.getPrimaryKey());

    sTransactionImpl.setTransactionId(sTransaction.getTransactionId());
    sTransactionImpl.setBookId(sTransaction.getBookId());
    sTransactionImpl.setMemberId(sTransaction.getMemberId());
    sTransactionImpl.setTdate(sTransaction.getTdate());

    return sTransactionImpl;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.