Class SimpleMeilisearchPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<MeilisearchPersistentProperty>
io.vanslog.spring.data.meilisearch.core.mapping.SimpleMeilisearchPersistentProperty
- All Implemented Interfaces:
MeilisearchPersistentProperty,PersistentProperty<MeilisearchPersistentProperty>
public class SimpleMeilisearchPersistentProperty
extends AnnotationBasedPersistentProperty<MeilisearchPersistentProperty>
implements MeilisearchPersistentProperty
Meilisearch specific
PersistentEntity implementation holding.- Author:
- Junghoon Ban
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vanslog.spring.data.meilisearch.core.mapping.MeilisearchPersistentProperty
MeilisearchPersistentProperty.PropertyToFieldNameConverter -
Constructor Summary
ConstructorsConstructorDescriptionSimpleMeilisearchPersistentProperty(Property property, PersistentEntity<?, MeilisearchPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Creates a newSimpleMeilisearchPersistentProperty. -
Method Summary
Modifier and TypeMethodDescriptionprotected Association<MeilisearchPersistentProperty>Returns the name of the field a property is persisted to.booleanMethods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessMethods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap, isReadableMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.mapping.PersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isImmutable, isMap, isReadable, isTransient, isVersionProperty, isWritable, usePropertyAccess
-
Constructor Details
-
SimpleMeilisearchPersistentProperty
public SimpleMeilisearchPersistentProperty(Property property, PersistentEntity<?, MeilisearchPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Creates a newSimpleMeilisearchPersistentProperty.- Parameters:
property- The property to be persisted.owner- The entity that owns this property.simpleTypeHolder- The holder for simple types.
-
-
Method Details
-
createAssociation
- Specified by:
createAssociationin classAbstractPersistentProperty<MeilisearchPersistentProperty>
-
getFieldName
Description copied from interface:MeilisearchPersistentPropertyReturns the name of the field a property is persisted to.- Specified by:
getFieldNamein interfaceMeilisearchPersistentProperty- Returns:
- the field name
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfacePersistentProperty<MeilisearchPersistentProperty>- Overrides:
isIdPropertyin classAnnotationBasedPersistentProperty<MeilisearchPersistentProperty>
-