// pkValue = new NSData(buf.getRawData());
// } catch (IOException e) {
// throw NSForwardException._runtimeExceptionForThrowable(e);
// }
// } else {
pkValue = new NSData(new EOTemporaryGlobalID()._rawBytes());
// }
} else {
throw new IllegalArgumentException("Unknown value type '" + valueType + "' for '" + object + "' of entity '" + entity.name() + "'.");
}
NSDictionary pk = new NSDictionary<String, Object>(pkValue, pkAttribute.name());