Class AbstractPojoHCAnnPropertyModel<T,I extends AbstractPojoHCAnnBootstrapIntrospector>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.hcann.spi.AbstractPojoHCAnnPropertyModel<T,I>
-
- All Implemented Interfaces:
PojoPropertyModel<T>
public abstract class AbstractPojoHCAnnPropertyModel<T,I extends AbstractPojoHCAnnBootstrapIntrospector> extends Object implements PojoPropertyModel<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.hibernate.annotations.common.reflection.XProperty>declaredXPropertiesThe declared XProperties for this property in the holder type.protected AbstractPojoHCAnnRawTypeModel<?,I>holderTypeModelprotected Iintrospectorprotected Stringname
-
Constructor Summary
Constructors Constructor Description AbstractPojoHCAnnPropertyModel(I introspector, AbstractPojoHCAnnRawTypeModel<?,I> holderTypeModel, String name, List<org.hibernate.annotations.common.reflection.XProperty> declaredXProperties, List<Member> members)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>annotations()protected abstract org.hibernate.search.util.common.reflect.spi.ValueReadHandle<T>createHandle(Member member)org.hibernate.search.util.common.reflect.spi.ValueReadHandle<T>handle()protected Membermember()Stringname()PojoGenericTypeModel<T>typeModel()
-
-
-
Field Detail
-
introspector
protected final I extends AbstractPojoHCAnnBootstrapIntrospector introspector
-
holderTypeModel
protected final AbstractPojoHCAnnRawTypeModel<?,I extends AbstractPojoHCAnnBootstrapIntrospector> holderTypeModel
-
name
protected final String name
-
declaredXProperties
protected final List<org.hibernate.annotations.common.reflection.XProperty> declaredXProperties
The declared XProperties for this property in the holder type. May be empty if this property is declared in a supertype of the holder type and not overridden in the holder type.
-
-
Method Detail
-
name
public final String name()
- Specified by:
namein interfacePojoPropertyModel<T>
-
annotations
public final Stream<Annotation> annotations()
- Specified by:
annotationsin interfacePojoPropertyModel<T>
-
typeModel
public final PojoGenericTypeModel<T> typeModel()
- Specified by:
typeModelin interfacePojoPropertyModel<T>- Returns:
- A model of this property's type. Implementations may decide to implement their own,
but could also simply use
GenericContextAwarePojoGenericTypeModel.
-
handle
public final org.hibernate.search.util.common.reflect.spi.ValueReadHandle<T> handle()
- Specified by:
handlein interfacePojoPropertyModel<T>
-
member
protected final Member member()
-
createHandle
protected abstract org.hibernate.search.util.common.reflect.spi.ValueReadHandle<T> createHandle(Member member) throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
-
-