/**
* Updates the primaryKeys parameter if bound.
*/
protected void updatePrimaryKeysParameter(String[] stringReps)
{
IBinding primaryKeysBinding = getBinding("primaryKeys");
if (primaryKeysBinding == null)
return;
DataSqueezer squeezer = getDataSqueezer();
int repsCount = stringReps.length;
List primaryKeys = new ArrayList(repsCount);
for (int i = 0; i < stringReps.length; i++)
{
String rep = stringReps[i];
if (rep.length() == 0 || rep.charAt(0) != DESC_PRIMARY_KEY)
continue;
Object primaryKey = squeezer.unsqueeze(rep.substring(1));
primaryKeys.add(primaryKey);
}
primaryKeysBinding.setObject(primaryKeys);
}