code: public ArrayList getPrimaryKeys()
      {
          ArrayList          result = new ArrayList();
          FieldDescriptorDef fieldDef;
  
          for (Iterator it = getFields(); it.hasNext();)
          {
              fieldDef = (FieldDescriptorDef)it.next();
              if (fieldDef.getBooleanProperty(PropertyHelper.OJB_PROPERTY_PRIMARYKEY, false))
              {
                  result.add(fieldDef);
              }
          }
          return result;
      }
docs: Returns the primarykey fields.
  
  @return The field descriptors of the primarykey fields