Compartilhar via


BasicCosmosPersistentProperty Class

  • java.lang.Object
    • org.springframework.data.mapping.model.AbstractPersistentProperty
      • org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
        • com.azure.spring.data.cosmos.core.mapping.BasicCosmosPersistentProperty

Implements

public class BasicCosmosPersistentProperty
extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<CosmosPersistentProperty>
implements CosmosPersistentProperty

Special CosmosPersistentProperty that takes annotations at a property into account.

Constructor Summary

Constructor Description
BasicCosmosPersistentProperty(Property property, CosmosPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)

Creates a new BasicCosmosPersistentProperty.

Method Summary

Modifier and Type Method and Description
protected org.springframework.data.mapping.Association<CosmosPersistentProperty> createAssociation()
boolean isIdProperty()

Methods inherited from java.lang.Object

Methods inherited from org.springframework.data.mapping.model.AbstractPersistentProperty

org.springframework.data.mapping.model.AbstractPersistentProperty.createAssociation org.springframework.data.mapping.model.AbstractPersistentProperty.equals org.springframework.data.mapping.model.AbstractPersistentProperty.getActualType org.springframework.data.mapping.model.AbstractPersistentProperty.getActualTypeInformation org.springframework.data.mapping.model.AbstractPersistentProperty.getAssociation org.springframework.data.mapping.model.AbstractPersistentProperty.getAssociationTargetType org.springframework.data.mapping.model.AbstractPersistentProperty.getComponentType org.springframework.data.mapping.model.AbstractPersistentProperty.getField org.springframework.data.mapping.model.AbstractPersistentProperty.getGetter org.springframework.data.mapping.model.AbstractPersistentProperty.getMapValueType org.springframework.data.mapping.model.AbstractPersistentProperty.getName org.springframework.data.mapping.model.AbstractPersistentProperty.getOwner org.springframework.data.mapping.model.AbstractPersistentProperty.getPersistentEntityTypeInformation org.springframework.data.mapping.model.AbstractPersistentProperty.getProperty org.springframework.data.mapping.model.AbstractPersistentProperty.getRawType org.springframework.data.mapping.model.AbstractPersistentProperty.getSetter org.springframework.data.mapping.model.AbstractPersistentProperty.getType org.springframework.data.mapping.model.AbstractPersistentProperty.getTypeInformation org.springframework.data.mapping.model.AbstractPersistentProperty.getWither org.springframework.data.mapping.model.AbstractPersistentProperty.hashCode org.springframework.data.mapping.model.AbstractPersistentProperty.isArray org.springframework.data.mapping.model.AbstractPersistentProperty.isCollectionLike org.springframework.data.mapping.model.AbstractPersistentProperty.isEntity org.springframework.data.mapping.model.AbstractPersistentProperty.isImmutable org.springframework.data.mapping.model.AbstractPersistentProperty.isMap org.springframework.data.mapping.model.AbstractPersistentProperty.isReadable

Methods inherited from org.springframework.data.mapping.model.AnnotationBasedPersistentProperty

org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.<A>findAnnotation org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.<A>findPropertyOrOwnerAnnotation org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.getAssociationTargetTypeInformation org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.getSpelExpression org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.isAnnotationPresent(java.lang.Class< org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.isAssociation org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.isIdProperty org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.isTransient org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.isVersionProperty org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.isWritable org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.toString org.springframework.data.mapping.model.AnnotationBasedPersistentProperty.usePropertyAccess

Constructor Details

BasicCosmosPersistentProperty

public BasicCosmosPersistentProperty(Property property, CosmosPersistentEntity owner, SimpleTypeHolder simpleTypeHolder)

Creates a new BasicCosmosPersistentProperty.

Parameters:

property - must not be null.
owner - must not be null.
simpleTypeHolder - must not be null.

Method Details

createAssociation

protected Association createAssociation()

Overrides:

BasicCosmosPersistentProperty.createAssociation()

isIdProperty

public boolean isIdProperty()

Overrides:

BasicCosmosPersistentProperty.isIdProperty()

Applies to