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 |
|---|---|
void |
addPersistentProperty(FirestorePersistentProperty property) |
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. |
FirestorePersistentProperty |
getUpdateTimeProperty() |
addAssociation, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, 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, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifydoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, 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>public FirestorePersistentProperty getUpdateTimeProperty()
getUpdateTimeProperty in interface FirestorePersistentEntity<T>public void addPersistentProperty(FirestorePersistentProperty property)
addPersistentProperty in interface org.springframework.data.mapping.model.MutablePersistentEntity<T,FirestorePersistentProperty>addPersistentProperty in class org.springframework.data.mapping.model.BasicPersistentEntity<T,FirestorePersistentProperty>Copyright © 2021. All rights reserved.