Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-249

Message Generation does not generate header repeating groups correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.1
    • Component/s: Message Generation
    • Labels:
      None
    • Environment:
      winXP SP2, JDK1.5.0.12, Eclipse 3.3

      Description

      After Message Generation, we can't find the class "public static class NoHops extends Group"; at QFJ, and so, we can use this header repeating group like other repeating group.
      Maybe, we can generate some codes like this, at quickfix.fix44.message.java or quickfix.fix44.message.Header :

      public static class NoHops extends Group {
      public NoHops() {
      super(627,628,
      new int[]

      {628,629,630,0 }

      ); }
      public void set(quickfix.field.HopCompID value)

      { setField(value); }
      public quickfix.field.HopCompID get(quickfix.field.HopCompID value) throws FieldNotFound
      { getField(value); return value; }
      public quickfix.field.HopCompID getHopCompID() throws FieldNotFound
      { quickfix.field.HopCompID value = new quickfix.field.HopCompID(); getField(value); return value; }
      public boolean isSet(quickfix.field.HopCompID field)
      { return isSetField(field); }
      public boolean isSetHopCompID()
      { return isSetField(628); }
      public void set(quickfix.field.HopSendingTime value)
      { setField(value); }

      public quickfix.field.HopSendingTime get(quickfix.field.HopSendingTime value)
      throws FieldNotFound

      { getField(value); return value; }
      public quickfix.field.HopSendingTime getHopSendingTime() throws FieldNotFound
      { quickfix.field.HopSendingTime value = new quickfix.field.HopSendingTime(); getField(value); return value; }
      public boolean isSet(quickfix.field.HopSendingTime field)
      { return isSetField(field); }
      public boolean isSetHopSendingTime()
      { return isSetField(629); }
      public void set(quickfix.field.HopRefID value)
      { setField(value); }
      public quickfix.field.HopRefID get(quickfix.field.HopRefID value)
      throws FieldNotFound
      { getField(value); return value; }

      public quickfix.field.HopRefID getHopRefID() throws FieldNotFound

      { quickfix.field.HopRefID value = new quickfix.field.HopRefID(); getField(value); return value; }

      public boolean isSet(quickfix.field.HopRefID field)

      { return isSetField(field); }

      public boolean isSetHopRefID()

      { return isSetField(630); }

      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              caiqi CaiQi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: