你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn 。
BasicCosmosPersistentEntity<T> Class
java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity
com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>
Type Parameters
T
the type that is persisted.
Implements
public class BasicCosmosPersistentEntity extends org.springframework.data.mapping.model.BasicPersistentEntity <T ,CosmosPersistentProperty > implements CosmosPersistentEntity <T >, org.springframework.context.ApplicationContextAware
Constructor Summary
Method Summary
Methods inherited from java.lang.Object
Methods inherited from org.springframework.data.mapping.model.BasicPersistentEntity
org.springframework.data.mapping.model.BasicPersistentEntity.<A>findAnnotation
org.springframework.data.mapping.model.BasicPersistentEntity.<A>isAnnotationPresent
org.springframework.data.mapping.model.BasicPersistentEntity.<B>getPropertyAccessor
org.springframework.data.mapping.model.BasicPersistentEntity.<B>getPropertyPathAccessor
org.springframework.data.mapping.model.BasicPersistentEntity.addAssociation
org.springframework.data.mapping.model.BasicPersistentEntity.addPersistentProperty
org.springframework.data.mapping.model.BasicPersistentEntity.doWithAssociations
org.springframework.data.mapping.model.BasicPersistentEntity.doWithAssociations
org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties
org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties
org.springframework.data.mapping.model.BasicPersistentEntity.getEvaluationContext
org.springframework.data.mapping.model.BasicPersistentEntity.getEvaluationContext
org.springframework.data.mapping.model.BasicPersistentEntity.getFallbackIsNewStrategy
org.springframework.data.mapping.model.BasicPersistentEntity.getIdProperty
org.springframework.data.mapping.model.BasicPersistentEntity.getIdentifierAccessor
org.springframework.data.mapping.model.BasicPersistentEntity.getInstanceCreatorMetadata
org.springframework.data.mapping.model.BasicPersistentEntity.getName
org.springframework.data.mapping.model.BasicPersistentEntity.getPersistenceConstructor
org.springframework.data.mapping.model.BasicPersistentEntity.getPersistentProperties(java.lang.Class<
org.springframework.data.mapping.model.BasicPersistentEntity.getPersistentProperty
org.springframework.data.mapping.model.BasicPersistentEntity.getType
org.springframework.data.mapping.model.BasicPersistentEntity.getTypeAlias
org.springframework.data.mapping.model.BasicPersistentEntity.getTypeInformation
org.springframework.data.mapping.model.BasicPersistentEntity.getValueEvaluationContext
org.springframework.data.mapping.model.BasicPersistentEntity.getValueEvaluationContext
org.springframework.data.mapping.model.BasicPersistentEntity.getVersionProperty
org.springframework.data.mapping.model.BasicPersistentEntity.hasIdProperty
org.springframework.data.mapping.model.BasicPersistentEntity.hasVersionProperty
org.springframework.data.mapping.model.BasicPersistentEntity.isCreatorArgument(org.springframework.data.mapping.PersistentProperty<
org.springframework.data.mapping.model.BasicPersistentEntity.isIdProperty(org.springframework.data.mapping.PersistentProperty<
org.springframework.data.mapping.model.BasicPersistentEntity.isImmutable
org.springframework.data.mapping.model.BasicPersistentEntity.isNew
org.springframework.data.mapping.model.BasicPersistentEntity.isVersionProperty(org.springframework.data.mapping.PersistentProperty<
org.springframework.data.mapping.model.BasicPersistentEntity.iterator
org.springframework.data.mapping.model.BasicPersistentEntity.requiresPropertyPopulation
org.springframework.data.mapping.model.BasicPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull
org.springframework.data.mapping.model.BasicPersistentEntity.setEnvironment
org.springframework.data.mapping.model.BasicPersistentEntity.setEvaluationContextProvider
org.springframework.data.mapping.model.BasicPersistentEntity.setPersistentPropertyAccessorFactory
org.springframework.data.mapping.model.BasicPersistentEntity.verify
Constructor Details
BasicCosmosPersistentEntity
public BasicCosmosPersistentEntity(TypeInformation typeInformation)
Creates a new BasicCosmosPersistentEntity<T> from the given TypeInformation .
Parameters:
typeInformation
- must not be null.
Method Details
getCollection
public String getCollection()
To get collection of entity
Returns:
String
getContainer
public String getContainer()
To get container of entity
getLanguage
public String getLanguage()
To get language
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
To set application context
Parameters:
applicationContext
- must not be null.
Throws:
org.springframework.beans.BeansException
- the bean exception
Applies to