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:
org.springframework.data.mapping.PersistentProperty<RedisPersistentProperty>
public class RedisPersistentProperty
extends org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty<RedisPersistentProperty>
Redis specific
PersistentProperty implementation.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorsConstructorDescriptionRedisPersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?, RedisPersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) Creates newRedisPersistentProperty. -
Method Summary
Methods inherited from class org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty
createAssociationMethods 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, isMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.mapping.PersistentProperty
getAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation
-
Constructor Details
-
RedisPersistentProperty
public RedisPersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?, RedisPersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) Creates newRedisPersistentProperty.- Parameters:
property-owner-simpleTypeHolder-
-
-
Method Details
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfaceorg.springframework.data.mapping.PersistentProperty<RedisPersistentProperty>- Overrides:
isIdPropertyin classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<RedisPersistentProperty>
-