/** * Return the ExecutionType instance on the supplied FIX message. * * @param inMessage a <code>Message</code> value * @return an <code>ExecutionType</code> value * @throws IllegalArgumentException if the message does not contain an ExecType value */ public static ExecutionType getInstanceForFIXMessage(Message inMessage) { try { return getInstanceForFIXValue(inMessage.getChar(quickfix.field.ExecType.FIELD)); } catch (FieldNotFound e) { throw new IllegalArgumentException(e); } } /**
@Override public boolean matches(ReportBase item) { Originator originator = item.getOriginator(); Hierarchy hierarchy = item.getHierarchy(); if(item instanceof ExecutionReport) { ExecutionReport er = (ExecutionReport)item; ExecutionType executionType = er.getExecutionType(); return originator.forPositions() && hierarchy.forPositions() && executionType != null && executionType.isFill() && isValid(er); } else { return false; } }
executionReport.setField(new ExecType(inExecType.getFIXValue()));
executionReport.setField(new ExecType(inExecType.getFIXValue()));
isFill = execType.isFill();
static ExecutionType getExecOrExecTransType(Message inMessage) { if (inMessage.isSetField(ExecType.FIELD)) { try { return ExecutionType.getInstanceForFIXValue( inMessage.getChar(ExecType.FIELD)); } catch (FieldNotFound ignore) {
continue; if(execType == null || !execType.isFill()){ SLF4JLoggerProxy.debug(AveragePriceReportList.class, "Skipping {} because its execution type {} is not a fill", //$NON-NLS-1$