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, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
doWithAssociations, 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, requiresPropertyPopulation
forEach, iterator, spliterator
public FirestorePersistentEntityImpl(org.springframework.data.util.TypeInformation<T> information)
public String collectionName()
FirestorePersistentEntity
collectionName
in interface FirestorePersistentEntity<T>
public FirestorePersistentProperty getIdPropertyOrFail()
FirestorePersistentEntity
Exception
if the entity
does not have an ID property.getIdPropertyOrFail
in interface FirestorePersistentEntity<T>
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.