Beispiel #1
0
 /** Set up the key areas. */
 public void setupKeys() {
   KeyAreaInfo keyArea = null;
   keyArea = new KeyAreaInfo(this, Constants.UNIQUE, ID_KEY);
   keyArea.addKeyField(ID, Constants.ASCENDING);
   keyArea = new KeyAreaInfo(this, Constants.NOT_UNIQUE, DESCRIPTION_KEY);
   keyArea.addKeyField(DESCRIPTION, Constants.ASCENDING);
 }
Beispiel #2
0
 /** Set up the key areas. */
 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, TAX_CODE_KEY);
   keyArea.addKeyField(TAX_CODE, Constants.ASCENDING);
   keyArea.addKeyField(MARITAL_STATUS, Constants.ASCENDING);
   keyArea.addKeyField(CUT_OFF_AMOUNT, Constants.ASCENDING);
 }