Class VaultPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<VaultPersistentProperty>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<VaultPersistentProperty>
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 KeyValuePersistentProperty
createAssociation
Methods inherited from class AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
Methods inherited from class AbstractPersistentProperty
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap, isReadable
Methods inherited from interface 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:
isIdProperty
in interfacePersistentProperty<VaultPersistentProperty>
- Overrides:
isIdProperty
in classAnnotationBasedPersistentProperty<VaultPersistentProperty>
-