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
createAssociationMethods inherited from class AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessMethods 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, isReadableMethods 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:
isIdPropertyin interfacePersistentProperty<VaultPersistentProperty>- Overrides:
isIdPropertyin classAnnotationBasedPersistentProperty<VaultPersistentProperty>
-