T - the type of the persistent entitypublic class FirestorePersistentEntityImpl<T> extends org.springframework.data.mapping.model.BasicPersistentEntity<T,FirestorePersistentProperty> implements FirestorePersistentEntity<T>
| Constructor and Description |
|---|
FirestorePersistentEntityImpl(org.springframework.data.util.TypeInformation<T> information) |
| Modifier and Type | Method and Description |
|---|---|
String |
collectionName()
Gets the name of the Firestore Collection.
|
FirestorePersistentProperty |
getIdPropertyOrFail()
Gets the ID property, and will throw
Exception if the entity
does not have an ID property. |
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, returnPropertyIfBetterIdPropertyCandidateOrNull, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifydoWithAssociations, 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, requiresPropertyPopulationforEach, iterator, spliteratorpublic FirestorePersistentEntityImpl(org.springframework.data.util.TypeInformation<T> information)
public String collectionName()
FirestorePersistentEntitycollectionName in interface FirestorePersistentEntity<T>public FirestorePersistentProperty getIdPropertyOrFail()
FirestorePersistentEntityException if the entity
does not have an ID property.getIdPropertyOrFail in interface FirestorePersistentEntity<T>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.