Class AbstractPojoHCAnnRawTypeModel<T,I extends AbstractPojoHCAnnBootstrapIntrospector>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.spi.AbstractPojoRawTypeModel<T,I>
-
- org.hibernate.search.mapper.pojo.model.hcann.spi.AbstractPojoHCAnnRawTypeModel<T,I>
-
- All Implemented Interfaces:
MappableTypeModel,PojoRawTypeModel<T>,PojoTypeModel<T>
public abstract class AbstractPojoHCAnnRawTypeModel<T,I extends AbstractPojoHCAnnBootstrapIntrospector> extends AbstractPojoRawTypeModel<T,I>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.hibernate.annotations.common.reflection.XClassxClass-
Fields inherited from class org.hibernate.search.mapper.pojo.model.spi.AbstractPojoRawTypeModel
introspector, typeIdentifier
-
-
Constructor Summary
Constructors Constructor Description AbstractPojoHCAnnRawTypeModel(I introspector, PojoRawTypeIdentifier<T> typeIdentifier, GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T> rawTypeDeclaringContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>annotations()PojoTypeModel<? extends T>cast(PojoTypeModel<?> other)protected Map<String,org.hibernate.annotations.common.reflection.XProperty>declaredFieldAccessXPropertiesByName()protected Map<String,List<org.hibernate.annotations.common.reflection.XProperty>>declaredMethodAccessXPropertiesByName()protected MemberdeclaredPropertyField(String propertyName)protected List<Member>declaredPropertyGetters(String propertyName)protected Stream<String>declaredPropertyNames()booleanisAbstract()booleanisSubTypeOf(MappableTypeModel other)-
Methods inherited from class org.hibernate.search.mapper.pojo.model.spi.AbstractPojoRawTypeModel
caster, castTo, createPropertyModel, declaredProperties, equals, hashCode, name, property, toString, typeIdentifier
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeModel
ascendingSuperTypes, descendingSuperTypes, rawType
-
-
-
-
Constructor Detail
-
AbstractPojoHCAnnRawTypeModel
public AbstractPojoHCAnnRawTypeModel(I introspector, PojoRawTypeIdentifier<T> typeIdentifier, GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T> rawTypeDeclaringContext)
-
-
Method Detail
-
isAbstract
public boolean isAbstract()
-
isSubTypeOf
public final boolean isSubTypeOf(MappableTypeModel other)
-
annotations
public Stream<Annotation> annotations()
-
cast
public PojoTypeModel<? extends T> cast(PojoTypeModel<?> other)
- Parameters:
other- The type to cast to this type.- Returns:
- A new type model, representing the given type cast to this type.
If casting is not possible, returns
this. If casting is possible, the returned type type model will retain as much contextual type information as possible (type arguments, ...), so castingList<Integer>toCollectionfor example would returnCollection<Integer>.
-
declaredPropertyNames
protected final Stream<String> declaredPropertyNames()
- Specified by:
declaredPropertyNamesin classAbstractPojoRawTypeModel<T,I extends AbstractPojoHCAnnBootstrapIntrospector>
-
declaredFieldAccessXPropertiesByName
protected final Map<String,org.hibernate.annotations.common.reflection.XProperty> declaredFieldAccessXPropertiesByName()
-
declaredMethodAccessXPropertiesByName
protected final Map<String,List<org.hibernate.annotations.common.reflection.XProperty>> declaredMethodAccessXPropertiesByName()
-
-