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
ConstructorDescriptionVaultPersistentProperty
(Property property, PersistentEntity<?, VaultPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Create a newVaultPersistentProperty
. -
Method Summary
Methods inherited from class org.springframework.data.keyvalue.core.mapping.KeyValuePersistentProperty
createAssociation
Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
Methods 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, isMap
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
isIdProperty
in interfacePersistentProperty<VaultPersistentProperty>
- Overrides:
isIdProperty
in classAnnotationBasedPersistentProperty<VaultPersistentProperty>
-