private Integer getLiveMarkingTarget(Set<Target> targetSet) {
   Iterator<Target> iter = targetSet.iterator();
   Target target;
   boolean found = false;
   Integer mark = 0;
   while ((iter.hasNext()) && (!found)) {
     target = iter.next();
     if (target.getTargetMode().getModeType().equalsIgnoreCase("live")) {
       mark = target.getTargetQuantity();
       found = true;
     }
   }
   return mark;
 }
  ArrayOfEStandardisationCreationTarget translateEStandardisationCreationTargets(
      ScorisQig scorisQig) throws TranslatorException {
    ArrayOfEStandardisationCreationTarget arrayOfEStandardisationCreationTarget =
        new ArrayOfEStandardisationCreationTarget();
    QigAttributes qigAttributes = scorisQig.getQigAttributes();
    throwExceptionForNullInput(qigAttributes, "qigAttributes");

    List<EStandardisationCreationTarget> eStandardisationCreationTargets =
        arrayOfEStandardisationCreationTarget.getEStandardisationCreationTarget();
    for (Target target : qigAttributes.getTargets(TargetType.Creation)) {
      EStandardisationCreationTarget eStdCreationTarget = new EStandardisationCreationTarget();
      eStdCreationTarget.setMarkingModeName(target.getTargetMode().getModeType());
      throwExceptionForNullInput(target.getTargetQuantity(), "target.targetQuantity");
      eStdCreationTarget.setTarget(target.getTargetQuantity());
      eStandardisationCreationTargets.add(eStdCreationTarget);
    }
    return arrayOfEStandardisationCreationTarget;
  }