* @return the populator
*/
@SuppressWarnings("unchecked")
protected <X> ManagedObjectPopulator<X> getPopulator(Class<X> clazz)
{
ManagedObjectBuilder builder = getBuilder(clazz);
if (builder instanceof ManagedObjectPopulator)
return (ManagedObjectPopulator) builder;
ManagedObjectPopulator<X> mop = (ManagedObjectPopulator<X>) defaultManagedObjectPopulator;
return mop;
}