code: public void setupKeys()
      {
          KeyAreaInfo keyArea = null;
          keyArea = new KeyAreaInfo(this, Constants.UNIQUE, ID_KEY);
          keyArea.addKeyField(ID, Constants.ASCENDING);
          keyArea = new KeyAreaInfo(this, Constants.UNIQUE, USER_GROUP_ID_KEY);
          keyArea.addKeyField(USER_GROUP_ID, Constants.ASCENDING);
          keyArea.addKeyField(USER_RESOURCE_ID, Constants.ASCENDING);
          keyArea.addKeyField(LOGIN_LEVEL, Constants.ASCENDING);
          keyArea = new KeyAreaInfo(this, Constants.UNIQUE, USER_RESOURCE_ID_KEY);
          keyArea.addKeyField(USER_RESOURCE_ID, Constants.ASCENDING);
          keyArea.addKeyField(USER_GROUP_ID, Constants.ASCENDING);
          keyArea.addKeyField(LOGIN_LEVEL, Constants.ASCENDING);
      }
docs: Set up the key areas.