Class VaultPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<P>
org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty<VaultPersistentProperty>
org.springframework.vault.repository.mapping.VaultPersistentProperty
- All Implemented Interfaces:
PersistentProperty<VaultPersistentProperty>
Vault-specific
KeyValuePersistentProperty. By default, if a property is named
id it's used as Id property.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionVaultPersistentProperty(Property property, PersistentEntity<?, VaultPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Create a newVaultPersistentProperty. -
Method Summary
Methods inherited from class org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty
createAssociationMethods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessMethods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.mapping.PersistentProperty
getAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation
-
Constructor Details
-
VaultPersistentProperty
public VaultPersistentProperty(Property property, PersistentEntity<?, VaultPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Create a newVaultPersistentProperty.- Parameters:
property- must not be null.owner- must not be null.simpleTypeHolder- must not be null.
-
-
Method Details
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfacePersistentProperty<VaultPersistentProperty>- Overrides:
isIdPropertyin classAnnotationBasedPersistentProperty<VaultPersistentProperty>
-