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
ConstructorsModifierConstructorDescriptionprotectedAbstractPojoGenericTypeModel(PojoRawTypeModel<? super T> rawTypeModel) -
Method Summary
Modifier and TypeMethodDescriptionfinal PojoRawTypeModel<? super T> rawType()final StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
toStringin interfacePojoTypeModel<T>- Overrides:
toStringin classObject- Returns:
- A human-readable description of this type.
-
rawType
- Specified by:
rawTypein interfacePojoTypeModel<T>- Returns:
- A representation of the closest parent Java
Classfor this type.
-
property
- Specified by:
propertyin interfacePojoTypeModel<T>- Parameters:
propertyName- The name of apropertyin this type.- Returns:
- A representation of the property with the given name.
-