Class FirestorePersistentEntityImpl<T>

java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,FirestorePersistentProperty>
com.google.cloud.spring.data.firestore.mapping.FirestorePersistentEntityImpl<T>
Type Parameters:
T - the type of the persistent entity
All Implemented Interfaces:
FirestorePersistentEntity<T>, Iterable<FirestorePersistentProperty>, org.springframework.data.mapping.model.MutablePersistentEntity<T,FirestorePersistentProperty>, org.springframework.data.mapping.PersistentEntity<T,FirestorePersistentProperty>

public class FirestorePersistentEntityImpl<T> extends org.springframework.data.mapping.model.BasicPersistentEntity<T,FirestorePersistentProperty> implements FirestorePersistentEntity<T>
Metadata class for entities stored in Datastore.
Since:
1.2
  • Constructor Summary

    Constructors
    Constructor
    Description
    FirestorePersistentEntityImpl(org.springframework.data.util.TypeInformation<T> information)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Gets the name of the Firestore Collection.
    Gets the ID property, and will throw Exception if the entity does not have an ID property.
     

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

    addAssociation, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, 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.model.MutablePersistentEntity

    addAssociation, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify

    Methods inherited from interface org.springframework.data.mapping.PersistentEntity

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