try {
// Check first that pk fields set methods are mot part of the remote interface
PersistentFieldInfo[] pkFieldInfos = ((EjbCMPEntityDescriptor)descriptor).getPersistenceDescriptor().getPkeyFieldInfo();
for (int i=0;i<pkFieldInfos.length;i++) {
foundAtLeastOne = true;
PersistentFieldInfo info = pkFieldInfos[i];
// check that setXXX is not part of the remote interface
String setMethodName = "set" + Character.toUpperCase(info.name.charAt(0)) + info.name.substring(1);
Class parms[] = { info.type };
Method setMethod = getMethod(c, setMethodName, parms );
if (setMethod != null) {