`

    package quickfix;

    quickfix.fix42.MarketDataSnapshotFullRefresh message =
      new quickfix.fix42.MarketDataSnapshotFullRefresh(new Symbol("QF"));
    quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries group =
      new quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries();

    group.set(new MDEntryType('0'));
    group.set(new MDEntryPx(12.32));
    group.set(new MDEntrySize(100));
    group.set(new OrderID("ORDERID"));
    message.addGroup(group);

    group.set(new MDEntryType('1'));
    group.set(new MDEntryPx(12.32));
    group.set(new MDEntrySize(100));
    group.set(new OrderID("ORDERID"));
    message.addGroup(group);

`