Package ek.rms.rtcAssignment

Examples of ek.rms.rtcAssignment.EquipmentDetailsType


      jobAssign.setStaffNumber(_inputStaffDetail.getID());
    if(_inputStaffDetail.getName() != null)
      jobAssign.setStaffName(_inputStaffDetail.getName());

    EquipmentType equipType = _input.getTaskDetails().getResources().getEquipment();
    EquipmentDetailsType equip = new EquipmentDetailsType();
    if(equipType != null &&  !equipType.getEquipmentDetails().isEmpty()){//Conditional case
      equip = equipType.getEquipmentDetails().get(0);//get the first equip ONLY

      if(equip.getID() != null)//Conditional case
        jobAssign.setEquipId(equip.getID());
      if(equip.getDescription() != null)
        jobAssign.setEquipDesc(equip.getDescription());
    }else{
      jobAssign.setEquipId(null);
      jobAssign.setEquipDesc(null);
    }
   
View Full Code Here


        jobAssign.setStaffNumber(_inputStaffDetail.getID());
      if(_inputStaffDetail.getName() != null)
        jobAssign.setStaffName(_inputStaffDetail.getName());

      EquipmentType equipType = _input.getTaskDetails().getResources().getEquipment();
      EquipmentDetailsType equip = new EquipmentDetailsType();
      if(equipType != null &&  !equipType.getEquipmentDetails().isEmpty()){//Conditional case
        equip = equipType.getEquipmentDetails().get(0);//get the first equip ONLY

        if(equip.getID() != null)//Conditional case
          jobAssign.setEquipId(equip.getID());
        if(equip.getDescription() != null)
          jobAssign.setEquipDesc(equip.getDescription());
      }else{
        jobAssign.setEquipId(null);
        jobAssign.setEquipDesc(null);
      }
      //jobAssign.setRecStatus(rec_status);
View Full Code Here

    }*/
    jobAssign.setChargeNote(String.valueOf(_inputServiceDetailsType.getDocNumber()));
   
    //Equipment
    EquipmentType equipType = _input.getTaskDetails().getResources().getEquipment();
    EquipmentDetailsType equip = new EquipmentDetailsType();
    if(equipType != null &&  !equipType.getEquipmentDetails().isEmpty()){//Conditional case
      equip = equipType.getEquipmentDetails().get(0);//get the first equip ONLY

      if(equip.getID() != null)//Conditional case
        jobAssign.setEquipId(equip.getID());
      if(equip.getDescription() != null)
        jobAssign.setEquipDesc(equip.getDescription());
    }else{
      jobAssign.setEquipId(null);
      jobAssign.setEquipDesc(null);
    }
   
View Full Code Here

      jobAssign.setChargeNote(String.valueOf(_inputServiceDetailsType.getDocNumber()));
     
      //Equipment
      EquipmentType equipType = _input.getTaskDetails().getResources().getEquipment();
      EquipmentDetailsType equip = new EquipmentDetailsType();
      if(equipType != null &&  !equipType.getEquipmentDetails().isEmpty()){//Conditional case
        equip = equipType.getEquipmentDetails().get(0);//get the first equip ONLY

        if(equip.getID() != null)//Conditional case
          jobAssign.setEquipId(equip.getID());
        if(equip.getDescription() != null)
          jobAssign.setEquipDesc(equip.getDescription());
      }else{
        jobAssign.setEquipId(null);
        jobAssign.setEquipDesc(null);
      }
     
View Full Code Here

TOP

Related Classes of ek.rms.rtcAssignment.EquipmentDetailsType

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.