/**
* Returns the key for the value
*/
public String generateGetProxyProperty(String value)
{
CharBuffer cb = CharBuffer.allocate();
cb.append("__caucho_make_key_" + getForeignMakeKeyName());
cb.append("(");
ArrayList<IdField> keys = getKeys();
for (int i = 0; i < keys.size(); i++) {
if (i != 0)
cb.append(", ");
cb.append(keys.get(i).generateGetProxyProperty(value));
}
cb.append(")");
return cb.close();
}