Class AbstractPojoGenericTypeModel<T>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.spi.AbstractPojoGenericTypeModel<T>
-
- All Implemented Interfaces:
PojoTypeModel<T>
- Direct Known Subclasses:
GenericContextAwarePojoGenericTypeModel,SyntheticPojoGenericTypeModel
public abstract class AbstractPojoGenericTypeModel<T> extends Object implements PojoTypeModel<T>
An abstract base for implementations of aPojoTypeModelrepresenting a type with generic type parameters.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPojoGenericTypeModel(PojoRawTypeModel<? super T> rawTypeModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PojoPropertyModel<?>property(String propertyName)PojoRawTypeModel<? super T>rawType()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.pojo.model.spi.PojoTypeModel
arrayElementType, castTo, name, typeArgument
-
-
-
-
Constructor Detail
-
AbstractPojoGenericTypeModel
protected AbstractPojoGenericTypeModel(PojoRawTypeModel<? super T> rawTypeModel)
-
-
Method Detail
-
rawType
public final PojoRawTypeModel<? super T> rawType()
- Specified by:
rawTypein interfacePojoTypeModel<T>- Returns:
- A representation of the closest parent Java
Classfor this type.
-
property
public PojoPropertyModel<?> property(String propertyName)
- Specified by:
propertyin interfacePojoTypeModel<T>- Parameters:
propertyName- The name of apropertyin this type.- Returns:
- A representation of the property with the given name.
-
-