Package com.jenginetest.builder.model.impl

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


  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

Related Classes of com.jenginetest.builder.model.impl.STransactionImpl

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.