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
An abstract base for implementations of a
PojoTypeModel
representing a type with generic type parameters.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractPojoGenericTypeModel
(PojoRawTypeModel<? super T> rawTypeModel) -
Method Summary
Modifier and TypeMethodDescriptionfinal PojoRawTypeModel<? super T>
rawType()
final String
toString()
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, equals, hashCode, name, typeArgument
-
Constructor Details
-
AbstractPojoGenericTypeModel
-
-
Method Details
-
toString
- Specified by:
toString
in interfacePojoTypeModel<T>
- Overrides:
toString
in classObject
- Returns:
- A human-readable description of this type.
-
rawType
- Specified by:
rawType
in interfacePojoTypeModel<T>
- Returns:
- A representation of the closest parent Java
Class
for this type.
-
property
- Specified by:
property
in interfacePojoTypeModel<T>
- Parameters:
propertyName
- The name of aproperty
in this type.- Returns:
- A representation of the property with the given name.
-