public SEG createJobSegment(int segnum) { SEG seg = null; try { MsgGen gen = getParentHandler().getMsgGen(); seg = SEGFactory.getInstance().createSEG(getName(), getName(), null, 0, gen.getSyntax()); for (Enumeration e = getLowlevelParams().propertyNames(); e.hasMoreElements(); ) { String key = (String) e.nextElement(); String value = getLowlevelParams().getProperty(key); seg.propagateValue( key, value, SyntaxElement.TRY_TO_CREATE, SyntaxElement.DONT_ALLOW_OVERWRITE); } seg.propagateValue( getName() + ".SegHead.seq", Integer.toString(segnum), SyntaxElement.DONT_TRY_TO_CREATE, SyntaxElement.ALLOW_OVERWRITE); } catch (Exception ex) { throw new HBCI_Exception("*** the job segment for this task can not be created", ex); } return seg; }
public List<String> getJobResultNames() { MsgGen gen = getParentHandler().getMsgGen(); return gen.getGVResultNames(name); }
public List<String> getJobParameterNames() { MsgGen gen = getParentHandler().getMsgGen(); return gen.getGVParameterNames(name); }