Annotation Type ProjectionBinderRef
-
@Documented @Target({}) @Retention(RUNTIME) public @interface ProjectionBinderRef
References aProjectionBinder.References can use either a name, a type, or both.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringnameReference a projection binder by its bean name.Param[]paramsBeanRetrievalretrievalClass<? extends ProjectionBinder>typeReference a projection binder by its bean type.
-
-
-
Element Detail
-
name
String name
Reference a projection binder by its bean name.- Returns:
- The bean name of the projection binder.
- Default:
- ""
-
-
-
type
Class<? extends ProjectionBinder> type
Reference a projection binder by its bean type.- Returns:
- The type of the projection binder.
- Default:
- org.hibernate.search.mapper.pojo.search.definition.mapping.annotation.ProjectionBinderRef.UndefinedImplementationType.class
-
-
-
retrieval
BeanRetrieval retrieval
- Returns:
- How to retrieve the projection definition. See
BeanRetrieval.
- Default:
- org.hibernate.search.engine.environment.bean.BeanRetrieval.ANY
-
-
-
params
Param[] params
- Returns:
- Params that will get passed to the
ProjectionBinder. - See Also:
ProjectionBindingContext.param(String),ProjectionBindingContext.paramOptional(String)
- Default:
- {}
-
-