Class KeyValuePersistentProperty<P extends KeyValuePersistentProperty<P>>

java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<P>
org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty<P>
All Implemented Interfaces:
org.springframework.data.mapping.PersistentProperty<P>

public class KeyValuePersistentProperty<P extends KeyValuePersistentProperty<P>> extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<P>
Most trivial implementation of PersistentProperty.
Author:
Christoph Strobl, Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeyValuePersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?,P> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.data.mapping.Association<P>
     

    Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty

    findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, 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

    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

    • KeyValuePersistentProperty

      public KeyValuePersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?,P> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
  • Method Details

    • createAssociation

      protected org.springframework.data.mapping.Association<P> createAssociation()
      Specified by:
      createAssociation in class org.springframework.data.mapping.model.AbstractPersistentProperty<P extends KeyValuePersistentProperty<P>>