Package com.expositds.ars.dao.entity.order

Examples of com.expositds.ars.dao.entity.order.ServiceEntity


  public ActivityEntity convertTo(Activity source, ActivityEntity destination) {
    ActivityEntity result = null;

    if (source instanceof Service) {

      ServiceEntity serviceEntity = new ServiceEntity();
      serviceEntity.setId(source.getId());
      serviceEntity.setDescription(((Service) source).getDescription());
      serviceEntity.setElapsedTime(source.getElapsedTime());
      serviceEntity.setNote(source.getNote());
      serviceEntity.setTotal(source.getTotal());

      result = serviceEntity;
    }

    if (source instanceof DetailReplacement) {
View Full Code Here

TOP

Related Classes of com.expositds.ars.dao.entity.order.ServiceEntity

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.