azure-docs-sdk-java/docs-ref-autogen/com.azure.spring.data.cosmo...

133 строки
19 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity"
fullName: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>"
name: "BasicCosmosPersistentEntity<T>"
nameWithType: "BasicCosmosPersistentEntity<T>"
summary: "Simple value object to capture information of <xref uid=\"com.azure.spring.data.cosmos.core.mapping.CosmosPersistentProperty\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPersistentProperty\"></xref>s."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
- classRef: "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity?alt=org.springframework.data.mapping.model.BasicPersistentEntity&text=BasicPersistentEntity\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.<A>findAnnotation(java.lang.Class<A>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.<A>findAnnotation&text=<A>findAnnotation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.<A>isAnnotationPresent(java.lang.Class<A>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.<A>isAnnotationPresent&text=<A>isAnnotationPresent\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.<B>getPropertyAccessor(B)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.<B>getPropertyAccessor&text=<B>getPropertyAccessor\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.<B>getPropertyPathAccessor(B)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.<B>getPropertyPathAccessor&text=<B>getPropertyPathAccessor\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.addAssociation(org.springframework.data.mapping.Association<P>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.addAssociation&text=addAssociation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.addPersistentProperty(P)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.addPersistentProperty&text=addPersistentProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.doWithAssociations(org.springframework.data.mapping.AssociationHandler<P>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.doWithAssociations&text=doWithAssociations\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.doWithAssociations(org.springframework.data.mapping.SimpleAssociationHandler)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.doWithAssociations&text=doWithAssociations\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(org.springframework.data.mapping.PropertyHandler<P>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties&text=doWithProperties\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(org.springframework.data.mapping.SimplePropertyHandler)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties&text=doWithProperties\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getEvaluationContext(java.lang.Object)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getEvaluationContext&text=getEvaluationContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getEvaluationContext(java.lang.Object,org.springframework.data.spel.ExpressionDependencies)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getEvaluationContext&text=getEvaluationContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getFallbackIsNewStrategy()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getFallbackIsNewStrategy&text=getFallbackIsNewStrategy\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getIdProperty()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getIdProperty&text=getIdProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getIdentifierAccessor(java.lang.Object)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getIdentifierAccessor&text=getIdentifierAccessor\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getInstanceCreatorMetadata()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getInstanceCreatorMetadata&text=getInstanceCreatorMetadata\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getName()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getName&text=getName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getPersistenceConstructor()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getPersistenceConstructor&text=getPersistenceConstructor\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getPersistentProperties(java.lang.Class<? extends java.lang.annotation.Annotation>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getPersistentProperties&text=getPersistentProperties\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getPersistentProperty(java.lang.String)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getPersistentProperty&text=getPersistentProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getType()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getType&text=getType\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getTypeAlias()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getTypeAlias&text=getTypeAlias\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getTypeInformation()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getTypeInformation&text=getTypeInformation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getValueEvaluationContext(java.lang.Object)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getValueEvaluationContext&text=getValueEvaluationContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getValueEvaluationContext(java.lang.Object,org.springframework.data.spel.ExpressionDependencies)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getValueEvaluationContext&text=getValueEvaluationContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.getVersionProperty()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.getVersionProperty&text=getVersionProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.hasIdProperty()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.hasIdProperty&text=hasIdProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.hasVersionProperty()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.hasVersionProperty&text=hasVersionProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.isCreatorArgument(org.springframework.data.mapping.PersistentProperty<?>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.isCreatorArgument&text=isCreatorArgument\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.isIdProperty(org.springframework.data.mapping.PersistentProperty<?>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.isIdProperty&text=isIdProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.isImmutable()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.isImmutable&text=isImmutable\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.isNew(java.lang.Object)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.isNew&text=isNew\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.isVersionProperty(org.springframework.data.mapping.PersistentProperty<?>)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.isVersionProperty&text=isVersionProperty\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.iterator()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.iterator&text=iterator\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.requiresPropertyPopulation()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.requiresPropertyPopulation&text=requiresPropertyPopulation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(P)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull&text=returnPropertyIfBetterIdPropertyCandidateOrNull\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.setEnvironment(org.springframework.core.env.Environment)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.setEnvironment&text=setEnvironment\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.setEvaluationContextProvider(org.springframework.data.spel.EvaluationContextProvider)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.setEvaluationContextProvider&text=setEvaluationContextProvider\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.setPersistentPropertyAccessorFactory(org.springframework.data.mapping.model.PersistentPropertyAccessorFactory)?alt=org.springframework.data.mapping.model.BasicPersistentEntity.setPersistentPropertyAccessorFactory&text=setPersistentPropertyAccessorFactory\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity.verify()?alt=org.springframework.data.mapping.model.BasicPersistentEntity.verify&text=verify\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **BasicCosmosPersistentEntity<T>**</br> extends <xref href=\"org.springframework.data.mapping.model.BasicPersistentEntity?alt=org.springframework.data.mapping.model.BasicPersistentEntity&text=BasicPersistentEntity\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />,<xref href=\"com.azure.spring.data.cosmos.core.mapping.CosmosPersistentProperty?alt=com.azure.spring.data.cosmos.core.mapping.CosmosPersistentProperty&text=CosmosPersistentProperty\" data-throw-if-not-resolved=\"False\" />&gt;</br> implements <xref href=\"com.azure.spring.data.cosmos.core.mapping.CosmosPersistentEntity?alt=com.azure.spring.data.cosmos.core.mapping.CosmosPersistentEntity&text=CosmosPersistentEntity\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"org.springframework.context.ApplicationContextAware?alt=org.springframework.context.ApplicationContextAware&text=ApplicationContextAware\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity.BasicCosmosPersistentEntity(org.springframework.data.util.TypeInformation<T>)"
fullName: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>.BasicCosmosPersistentEntity(TypeInformation<T> typeInformation)"
name: "BasicCosmosPersistentEntity(TypeInformation<T> typeInformation)"
nameWithType: "BasicCosmosPersistentEntity<T>.BasicCosmosPersistentEntity(TypeInformation<T> typeInformation)"
summary: "Creates a new <xref uid=\"com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BasicCosmosPersistentEntity\"></xref> from the given <xref uid=\"org.springframework.data.util.TypeInformation\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TypeInformation\"></xref>."
parameters:
- description: "must not be null."
name: "typeInformation"
type: "<xref href=\"org.springframework.data.util.TypeInformation?alt=org.springframework.data.util.TypeInformation&text=TypeInformation\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public BasicCosmosPersistentEntity(TypeInformation<T> typeInformation)"
desc: "Creates a new <xref uid=\"com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity\" data-throw-if-not-resolved=\"false\" data-raw-source=\"BasicCosmosPersistentEntity\"></xref> from the given <xref uid=\"org.springframework.data.util.TypeInformation\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TypeInformation\"></xref>."
methods:
- uid: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity.getCollection()"
fullName: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>.getCollection()"
name: "getCollection()"
nameWithType: "BasicCosmosPersistentEntity<T>.getCollection()"
summary: "To get collection of entity"
syntax: "public String getCollection()"
desc: "To get collection of entity"
returns:
description: "String"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity.getContainer()"
fullName: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>.getContainer()"
name: "getContainer()"
nameWithType: "BasicCosmosPersistentEntity<T>.getContainer()"
summary: "To get container of entity"
syntax: "public String getContainer()"
desc: "To get container of entity"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity.getLanguage()"
fullName: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>.getLanguage()"
name: "getLanguage()"
nameWithType: "BasicCosmosPersistentEntity<T>.getLanguage()"
summary: "To get language"
syntax: "public String getLanguage()"
desc: "To get language"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity.setApplicationContext(org.springframework.context.ApplicationContext)"
fullName: "com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentEntity<T>.setApplicationContext(ApplicationContext applicationContext)"
name: "setApplicationContext(ApplicationContext applicationContext)"
nameWithType: "BasicCosmosPersistentEntity<T>.setApplicationContext(ApplicationContext applicationContext)"
summary: "To set application context"
parameters:
- description: "must not be null."
name: "applicationContext"
type: "<xref href=\"org.springframework.context.ApplicationContext?alt=org.springframework.context.ApplicationContext&text=ApplicationContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setApplicationContext(ApplicationContext applicationContext)"
exceptions:
- description: "the bean exception"
type: "<xref href=\"org.springframework.beans.BeansException?alt=org.springframework.beans.BeansException&text=BeansException\" data-throw-if-not-resolved=\"False\" />"
desc: "To set application context"
type: "class"
typeParameters:
- description: "the type that is persisted."
name: "T"
desc: "Simple value object to capture information of <xref uid=\"com.azure.spring.data.cosmos.core.mapping.CosmosPersistentProperty\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosPersistentProperty\"></xref>s."
implements:
- "<xref href=\"com.azure.spring.data.cosmos.core.mapping.CosmosPersistentEntity?alt=com.azure.spring.data.cosmos.core.mapping.CosmosPersistentEntity&text=CosmosPersistentEntity\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"org.springframework.context.ApplicationContextAware?alt=org.springframework.context.ApplicationContextAware&text=ApplicationContextAware\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.azure.spring.data.cosmos.core.mapping"
artifact: com.azure:azure-spring-data-cosmos:5.18.0