Object result = instantiate( entityMode );
setPropertyValues( result, values, entityMode );
//not absolutely necessary, but helps for some
//equals()/hashCode() implementations
ComponentTuplizer ct = ( ComponentTuplizer ) tuplizerMapping.getTuplizer( entityMode );
if ( ct.hasParentProperty() ) {
ct.setParent( result, ct.getParent( component ), factory );
}
return result;
}