Class DynamoDBPersistentEntityImpl<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected DynamoDBPersistentProperty returnPropertyIfBetterIdPropertyCandidateOrNull​(DynamoDBPersistentProperty property)
      Returns the given property if it is a better candidate for the id property than the current id property.
      • Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity

        addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
      • Methods inherited from interface org.springframework.data.mapping.PersistentEntity

        doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
    • Constructor Detail

      • DynamoDBPersistentEntityImpl

        public DynamoDBPersistentEntityImpl​(org.springframework.data.util.TypeInformation<T> information,
                                            java.util.Comparator<DynamoDBPersistentProperty> comparator)
    • Method Detail

      • returnPropertyIfBetterIdPropertyCandidateOrNull

        protected DynamoDBPersistentProperty returnPropertyIfBetterIdPropertyCandidateOrNull​(DynamoDBPersistentProperty property)
        Returns the given property if it is a better candidate for the id property than the current id property.
        Overrides:
        returnPropertyIfBetterIdPropertyCandidateOrNull in class org.springframework.data.mapping.model.BasicPersistentEntity<T,​DynamoDBPersistentProperty>
        Parameters:
        property - the new id property candidate, will never be null.
        Returns:
        the given id property or null if the given property is not an id property.