// This "tricky" binding returns the stored value as the entity, but
// first it sets the transient key fields from the stored key.
MarshalledTupleKeyEntity entity = (MarshalledTupleKeyEntity) javaInput;
if (tupleInput != null) { // may be null if not used by key extractor
entity.unmarshalPrimaryKey(tupleInput);
}
return entity;
}
// javadoc is inherited