code: @Override
      public IEnforcementJob getEnforcementJobFromEnforcementJobXML(
              EnforcementJob enforcementJobXML) throws ModelConversionException{
  
          IEnforcementJob enforcementJob = new eu.atos.sla.datamodel.bean.EnforcementJob();
          Agreement agreement = null;
  
          if (enforcementJobXML.getAgreementId() != null) {
  
              agreement = new Agreement(enforcementJobXML.getAgreementId());
              enforcementJob.setAgreement(agreement);
          } else
              throw new ModelConversionException("AgreementId is null, field must be informed");
  
  
          enforcementJob.setEnabled(enforcementJobXML.getEnabled());
  
          if (enforcementJobXML.getLastExecuted() != null) {
              enforcementJob.setLastExecuted(enforcementJobXML.getLastExecuted());
          }
  
          return enforcementJob;
      }
docs: /* (non-Javadoc)
  @see eu.atos.sla.util.IModelConversion#getEnforcementJobFromEnforcementJobXML(eu.atos.sla.datamodel.parser.xml.EnforcementJob, java.lang.String)