Package org.martinlaw.bo

Examples of org.martinlaw.bo.MatterTypeAnnexDetail


  }

  @Override
  protected void populateAdditionalFieldsForCrud(Type type) {
    MatterType matterType = (MatterType)type;
    MatterTypeAnnexDetail annexDetail = new MatterTypeAnnexDetail();
    assertEquals("default value differs", Long.valueOf(1), annexDetail.getSequence());
    annexDetail.setAnnexTypeId(10019l);
    matterType.getAnnexDetails().add(annexDetail);
  }
View Full Code Here


   * @param sequenceValue - the expected sequence value in the first annex detail
   */
  protected void testAnnexDetails(
      final List<MatterTypeAnnexDetail> annexDetails, int listSize, String annexTypeName, Long sequenceValue) {
    assertEquals("there should be an annex detail", listSize, annexDetails.size());
    final MatterTypeAnnexDetail matterTypeAnnexDetail = annexDetails.get(0);
    matterTypeAnnexDetail.refresh();
    assertEquals("annex type name differs", annexTypeName, matterTypeAnnexDetail.getAnnexType().getName());
    assertEquals("sequence value differs", sequenceValue, matterTypeAnnexDetail.getSequence());
  }
View Full Code Here

TOP

Related Classes of org.martinlaw.bo.MatterTypeAnnexDetail

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.