Package ek.rms.rtcAssignment

Examples of ek.rms.rtcAssignment.EquipmentType


    List<StaffDetailsType> _inputStaffDetailList = new ArrayList<>();
    if(staff != null)
      _inputStaffDetailList = staff.getStaffDetails();
   
    int equipSize = 0;
    EquipmentType equipment = _input.getTaskDetails().getResources().getEquipment();
    if(equipment != null)
      equipSize = equipment.getEquipmentDetails().size();
   
    LOG.debug("Total <{}> staff details and <{}> equipments in input msg.",
        _inputStaffDetailList.size(), equipSize);
   
    for(StaffDetailsType _inputStaffDetail : _inputStaffDetailList){
View Full Code Here


    if(_inputStaffDetail.getID() != null)//Conditional case
      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());
View Full Code Here

    StaffType staff = _input.getTaskDetails().getResources().getStaff();
    List<StaffDetailsType> _inputStaffDetailList = new ArrayList<>();
    if(staff != null)
      _inputStaffDetailList = staff.getStaffDetails();

    EquipmentType equipType = _input.getTaskDetails().getResources().getEquipment();
    List<EquipmentDetailsType> _inputEquipList = new ArrayList<>();
    if(equipType != null)
       _inputEquipList = equipType.getEquipmentDetails();
   
    LOG.debug("Total <{}> staff details and <{}> equipments in input msg.", _inputStaffDetailList.size(), _inputEquipList.size());
    if(_inputEquipList.size()>1)
      LOG.debug("Multiple Equipments includes in one msg.");
   
View Full Code Here

      if(_inputStaffDetail.getID() != null)//Conditional case
        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());
View Full Code Here

    List<StaffDetailsType> listStaff = new ArrayList<>();
    if(staff != null)
      listStaff = staff.getStaffDetails();
   
    int equipSize = 0;
    EquipmentType equipment = _input.getTaskDetails().getResources().getEquipment();
    if(equipment != null)
      equipSize = equipment.getEquipmentDetails().size();
    LOG.debug("Total <{}> staff details and <{}> equipments in input msg.",
        listStaff.size(), equipSize);
   
    for(StaffDetailsType _inputStaffDetail : listStaff){
      //INSERT each job and its shift
View Full Code Here

      jobAssign.setIdServiceRequest(entSerRequest.getIntId());//ID???
    }*/
    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());
View Full Code Here

    StaffType staff = _input.getTaskDetails().getResources().getStaff();
    List<StaffDetailsType> _inputStaffDetailList = new ArrayList<>();
    if(staff != null)
      _inputStaffDetailList = staff.getStaffDetails();
   
    EquipmentType equipType = _input.getTaskDetails().getResources().getEquipment();
    List<EquipmentDetailsType> _inputEquipList = new ArrayList<>();
    if(equipType != null)//Conditional case
       _inputEquipList = equipType.getEquipmentDetails();
   
    LOG.debug("Total <{}> staff details and <{}> equipments in input msg.", _inputStaffDetailList.size(), _inputEquipList.size());
    if(_inputEquipList.size()>1)
      LOG.debug("Multiple Equipments includes in one msg.");
   
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());
View Full Code Here

TOP

Related Classes of ek.rms.rtcAssignment.EquipmentType

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.