Class AbstractPojoModelsRawTypeModel<T, I extends AbstractPojoModelsBootstrapIntrospector>
java.lang.Object
org.hibernate.search.mapper.pojo.model.spi.AbstractPojoRawTypeModel<T,I>
org.hibernate.search.mapper.pojo.model.models.spi.AbstractPojoModelsRawTypeModel<T,I>
- All Implemented Interfaces:
org.hibernate.search.engine.mapper.model.spi.MappableTypeModel, PojoRawTypeModel<T>, PojoTypeModel<T>
- Direct Known Subclasses:
PojoSimpleModelsRawTypeModel
public abstract class AbstractPojoModelsRawTypeModel<T, I extends AbstractPojoModelsBootstrapIntrospector>
extends AbstractPojoRawTypeModel<T,I>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.hibernate.models.spi.ClassDetailsFields inherited from class AbstractPojoRawTypeModel
introspector, typeIdentifier -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPojoModelsRawTypeModel(I introspector, PojoRawTypeIdentifier<T> typeIdentifier, GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T> rawTypeDeclaringContext) -
Method Summary
Modifier and TypeMethodDescriptionStream<? extends Annotation> protected List<PojoConstructorModel<T>> protected final MemberdeclaredPropertyField(String propertyName) declaredPropertyGetters(String propertyName) booleanfinal booleanisSubTypeOf(org.hibernate.search.engine.mapper.model.spi.MappableTypeModel other) typeArgument(Class<?> rawSuperType, int typeParameterIndex) Methods inherited from class AbstractPojoRawTypeModel
cast, caster, castTo, constructor, createPropertyModel, declaredConstructors, declaredProperties, doCast, equals, hashCode, mainConstructor, name, property, toString, typeIdentifierMethods inherited from interface PojoRawTypeModel
ascendingSuperTypes, descendingSuperTypes, rawType
-
Field Details
-
classDetails
protected final org.hibernate.models.spi.ClassDetails classDetails
-
-
Constructor Details
-
AbstractPojoModelsRawTypeModel
public AbstractPojoModelsRawTypeModel(I introspector, PojoRawTypeIdentifier<T> typeIdentifier, GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T> rawTypeDeclaringContext)
-
-
Method Details
-
isAbstract
public boolean isAbstract() -
isSubTypeOf
public final boolean isSubTypeOf(org.hibernate.search.engine.mapper.model.spi.MappableTypeModel other) -
typeArgument
- Parameters:
rawSuperType- The supertype to resolve type parameters fortypeParameterIndex- The index of the type parameter to resolve- Returns:
- The model for the type argument for the type parameter defined in
rawSuperTypeat indextypeParameterIndex, or an empty optional if the current type does not extendrawSuperType. Implementations may decide to return a model of the raw type argument, or to retain generics information.
-
arrayElementType
- Returns:
- The model for the array element type, or an empty optional if the current type is not an array type. Implementations may decide to return a model of the raw array element type, or to retain generics information.
-
annotations
- Returns:
- All annotations on this specific type (non-inherited annotations from supertype are excluded).
-
createDeclaredConstructors
- Specified by:
createDeclaredConstructorsin classAbstractPojoRawTypeModel<T, I extends AbstractPojoModelsBootstrapIntrospector>
-
declaredPropertyNames
- Specified by:
declaredPropertyNamesin classAbstractPojoRawTypeModel<T, I extends AbstractPojoModelsBootstrapIntrospector>
-
declaredFieldAccessPropertiesByName
-
declaredMethodAccessPropertiesByName
-
declaredPropertyGetters
-
declaredPropertyField
-