// initialize value stores for key reference fields
Vector krvector = edecl.keyRef;
int krcount = krvector.size();
for (int i = 0; i < krcount; i++) {
KeyRef keyRef = (KeyRef)krvector.elementAt(i);
KeyValueStore keyValueStore = (KeyValueStore)keyHash.get(keyRef.getName());
KeyRefValueStore keyRefValueStore = null;
int fcount = keyRef.getFieldCount();
for (int j = 0; j < fcount; j++) {
Field field = keyRef.getFieldAt(i);
if (keyRefValueStore == null) {
keyRefValueStore = new KeyRefValueStore(keyRef, keyValueStore);
fValueStores.addElement(keyRefValueStore);
}
if (DEBUG_VALUE_STORES) {