/** * Used for recursive processing of containedIn * * @param <T> the type of the entity * @param value the entity to be processed * @param context the validator for the depth constraints * @param tenantId the tenant identifier. It can be null. */ public <T> void recurseContainedIn(T value, ContainedInRecursionContext context, String tenantId) { Class<T> entityClass = instanceInitializer.getClass( value ); //TODO separate the ContainedIn processing in its own registry of types PerClassWork classWork = getClassWork( tenantId, new PojoIndexedTypeIdentifier( entityClass ) ); classWork.recurseContainedIn( value, context ); }
/** * Used for recursive processing of containedIn * * @param <T> the type of the entity * @param value the entity to be processed * @param context the validator for the depth constraints * @param tenantId the tenant identifier. It can be null. */ public <T> void recurseContainedIn(T value, ContainedInRecursionContext context, String tenantId) { Class<T> entityClass = instanceInitializer.getClass( value ); //TODO separate the ContainedIn processing in its own registry of types PerClassWork classWork = getClassWorkIfConfigured( tenantId, new PojoIndexedTypeIdentifier( entityClass ) ); if ( classWork != null ) { classWork.recurseContainedIn( value, context ); } }
log.containedInPointsToProvidedId( instanceInitializer.getClass( value ) );
log.containedInPointsToProvidedId( instanceInitializer.getClass( value ) );
final InstanceInitializer instanceInitializer = integrator.getInstanceInitializer(); for ( Object o : queryResultList ) { Class<?> loadedType = instanceInitializer.getClass( o ); Object unproxiedObject = instanceInitializer.unproxy( o ); IndexedTypeIdentifier type = integrator.getIndexBindings().keyFromPojoType( loadedType );
Class<?> entityType = objectInitializer.getClass( instance ); float documentLevelBoost = getTypeMetadata().getClassBoost( instance );
Class<?> entityType = objectInitializer.getClass( instance ); float documentLevelBoost = getTypeMetadata().getClassBoost( instance );