Package org.martinlaw.bo

Examples of org.martinlaw.bo.TransactionType


   * @see org.martinlaw.test.BaseDetailRoutingTestBase#getDataObject()
   */
  @Override
  protected Type getDataObject() throws InstantiationException,
      IllegalAccessException {
    TransactionType type =  new TransactionType();
    type.setName("credit card");
    type.setEffectOnConsideration(TransactionType.TRANSACTION_EFFECT_ON_CONSIDERATION.DECREASE.toString());
    type.setDescription("online payment");
   
    return type;
  }
View Full Code Here


  /**
   *
   */
  public TransactionTypeBOTest() {
    transactionType = new TransactionType();
    transactionType.setId(10028l);
    transactionType.setName("interest");
    transactionType.setDescription("interest on penalty");
    transactionType.setEffectOnConsideration(TransactionType.TRANSACTION_EFFECT_ON_CONSIDERATION.INCREASE.toString());
  }
View Full Code Here

    return "TransactionTypeMaintenanceDocument";
  }
 
  @Test
  public void testRetrievedEffectOnConsideration () {
    TransactionType type = getBoSvc().findBySinglePrimaryKey(TransactionType.class, getExpectedOnRetrieve().getId());
    assertEquals("effect on consideration differs", transactionType.getEffectOnConsideration(), type.getEffectOnConsideration());
  }
View Full Code Here

TOP

Related Classes of org.martinlaw.bo.TransactionType

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.