public class BasicCosmosPersistentEntity<T> extends org.springframework.data.mapping.model.BasicPersistentEntity<T,CosmosPersistentProperty> implements CosmosPersistentEntity<T>, org.springframework.context.ApplicationContextAware
CosmosPersistentPropertys.| Constructor and Description |
|---|
BasicCosmosPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
Creates a new
BasicCosmosPersistentEntity from the given TypeInformation. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollection()
To get collection of entity
|
String |
getContainer()
To get container of entity
|
String |
getLanguage()
To get language
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
To set application context
|
addAssociation, addPersistentProperty, 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, waitdoWithAll, 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, requiresPropertyPopulationforEach, iterator, spliteratorpublic BasicCosmosPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation)
BasicCosmosPersistentEntity from the given TypeInformation.typeInformation - must not be null.public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - must not be null.org.springframework.beans.BeansException - the bean exceptionpublic String getCollection()
public String getContainer()
CosmosPersistentEntitygetContainer in interface CosmosPersistentEntity<T>public String getLanguage()
CosmosPersistentEntitygetLanguage in interface CosmosPersistentEntity<T>Copyright © 2021 Microsoft Corporation. All rights reserved.