Class RedisPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<P>
org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty<RedisPersistentProperty>
org.springframework.data.redis.core.mapping.RedisPersistentProperty
- All Implemented Interfaces:
PersistentProperty<RedisPersistentProperty>
Redis specific
PersistentProperty
implementation.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorDescriptionRedisPersistentProperty
(Property property, PersistentEntity<?, RedisPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Creates newRedisPersistentProperty
. -
Method Summary
Methods inherited from class org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty
createAssociation
Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
Methods 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, isReadable
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.data.mapping.PersistentProperty
getAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation
-
Constructor Details
-
RedisPersistentProperty
public RedisPersistentProperty(Property property, PersistentEntity<?, RedisPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Creates newRedisPersistentProperty
.- Parameters:
property
-owner
-simpleTypeHolder
-
-
-
Method Details
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdProperty
in interfacePersistentProperty<RedisPersistentProperty>
- Overrides:
isIdProperty
in classAnnotationBasedPersistentProperty<RedisPersistentProperty>
-