public List<JobClass_old> getListJobs(List<TypeVMJobClassKey> lstTypeJobClass) {
    List<JobClass_old> lst = new ArrayList<>();
    for (JobClass_old job : lstClass)
      for (TypeVMJobClassKey key : lstTypeJobClass)
        if (job.getId().equals(key.getJob())) lst.add(job);

    return lst;
  }
 public Profile_old getProfile(JobClass_old jobClass, TypeVM tVM) {
   TypeVMJobClassKey key = new TypeVMJobClassKey();
   key.setJob(jobClass.getId());
   key.setTypeVM(tVM.getId());
   return mapProfiles.get(key);
 }
 public List<TypeVM> getLstTypeVM(JobClass_old jobClass) {
   return mapTypeVMs.get().get(jobClass.getId());
 }