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
- com.
- org.
- org.
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<Cosmos |
createAssociation() |
| boolean | isIdProperty() |
Methods inherited from java.lang.Object
Methods inherited from org.springframework.data.mapping.model.AbstractPersistentProperty
Methods inherited from org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
Constructor Details
BasicCosmosPersistentProperty
public BasicCosmosPersistentProperty(Property property, CosmosPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)
Creates a new BasicCosmosPersistentProperty.
Parameters:
Method Details
createAssociation
protected Association<CosmosPersistentProperty> createAssociation()
Overrides:
BasicCosmosPersistentProperty.createAssociation()isIdProperty
public boolean isIdProperty()
Overrides:
BasicCosmosPersistentProperty.isIdProperty()