Class BasicCosmosPersistentEntity<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity

        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, verify
      • Methods inherited from interface org.springframework.data.mapping.PersistentEntity

        doWithAll, 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
    • Constructor Detail

      • BasicCosmosPersistentEntity

        public BasicCosmosPersistentEntity​(org.springframework.data.util.TypeInformation<T> typeInformation)
        Creates a new BasicCosmosPersistentEntity from the given TypeInformation.
        Parameters:
        typeInformation - must not be null.
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        To set application context
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Parameters:
        applicationContext - must not be null.
        Throws:
        org.springframework.beans.BeansException - the bean exception
      • getCollection

        public String getCollection()
        To get collection of entity
        Returns:
        String