set = element.getAsSet();
}
BinaryValue returnedKey = coreResponse.hasGeneratedKey()
? coreResponse.getGeneratedKey()
: null;
Context returnedCtx = null;
if (coreResponse.hasContext())
{
returnedCtx = new Context(coreResponse.getContext());
}
return new Response(returnedCtx, set, returnedKey);
}
@Override