Class GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.spi.GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T>
-
- Enclosing class:
- GenericContextAwarePojoGenericTypeModel<T>
public static class GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description RawTypeDeclaringContext(GenericContextAwarePojoGenericTypeModel.Helper helper, Class<T> rawType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <U> PojoGenericTypeModel<U>
createGenericTypeModel(Class<U> declaredType)
PojoGenericTypeModel<?>
createGenericTypeModel(Type declaredType)
-
-
-
Constructor Detail
-
RawTypeDeclaringContext
public RawTypeDeclaringContext(GenericContextAwarePojoGenericTypeModel.Helper helper, Class<T> rawType)
-
-
Method Detail
-
createGenericTypeModel
public <U> PojoGenericTypeModel<U> createGenericTypeModel(Class<U> declaredType)
-
createGenericTypeModel
public PojoGenericTypeModel<?> createGenericTypeModel(Type declaredType)
- Parameters:
declaredType
- The type to create a generic type model for- Returns:
- A generic type model for
declaredType
in this context. The type parameter can safely be assumed to be exactly the typedeclaredType
. For instance ifdeclaredType
isString.class
, the returned type model will be an instance ofPojoGenericTypeModel<String>
. IfdeclaredType
isList<String>
, it will bePojoGenericTypeModel<List<String>>
, and so on.
-
-