docs: public Record getMainRecord()
      {
          Record record = null;
          if (this.size() > 0)
          {
              record = (Record)this.firstElement();
              if (record != null) if (record == this.getScreenRecord())
              {
                  record = null;
                  if (this.size() >= 2)
                      record = (Record)this.elementAt(1);
              }
          }
          return record;
      }