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
FieldsModifier and TypeFieldDescriptionprotected final List<org.hibernate.annotations.common.reflection.XProperty> The declared XProperties for this property in the holder type.protected final AbstractPojoHCAnnRawTypeModel<?, I> protected final Iprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPojoHCAnnPropertyModel(I introspector, AbstractPojoHCAnnRawTypeModel<?, I> holderTypeModel, String name, List<org.hibernate.annotations.common.reflection.XProperty> declaredXProperties, List<Member> members) -
Method Summary
Modifier and TypeMethodDescriptionfinal Stream<Annotation> protected abstract ValueReadHandle<T> createHandle(Member member) final ValueReadHandle<T> handle()protected final Membermember()final Stringname()final PojoTypeModel<T>
-
Field Details
-
introspector
-
holderTypeModel
protected final AbstractPojoHCAnnRawTypeModel<?,I extends AbstractPojoHCAnnBootstrapIntrospector> holderTypeModel -
name
-
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.
-
-
Constructor Details
-
AbstractPojoHCAnnPropertyModel
-
-
Method Details
-
name
- Specified by:
namein interfacePojoPropertyModel<T>- Returns:
- The name of this property, without the
get/setprefixes of getters/setters.
-
annotations
- Specified by:
annotationsin interfacePojoPropertyModel<T>- Returns:
- All annotations on this property.
-
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
- Specified by:
handlein interfacePojoPropertyModel<T>- Returns:
- A handle to read the value of this property on a instance of its hosting type.
-
member
-
createHandle
protected abstract ValueReadHandle<T> createHandle(Member member) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-