Class BasicVaultPersistentEntity<T>
java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,P>
org.springframework.data.keyvalue.core.mapping.BasicKeyValuePersistentEntity<T,VaultPersistentProperty>
org.springframework.vault.repository.mapping.BasicVaultPersistentEntity<T>
- All Implemented Interfaces:
Iterable<VaultPersistentProperty>,KeyValuePersistentEntity<T,,VaultPersistentProperty> MutablePersistentEntity<T,,VaultPersistentProperty> PersistentEntity<T,,VaultPersistentProperty> VaultPersistentEntity<T>
public class BasicVaultPersistentEntity<T>
extends BasicKeyValuePersistentEntity<T,VaultPersistentProperty>
implements VaultPersistentEntity<T>
VaultPersistentEntity implementation.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionBasicVaultPersistentEntity(TypeInformation<T> information, KeySpaceResolver keySpaceResolver) Creates newBasicVaultPersistentEntity. -
Method Summary
Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.springframework.data.mapping.model.MutablePersistentEntity
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifyMethods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAll, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Constructor Details
-
BasicVaultPersistentEntity
public BasicVaultPersistentEntity(TypeInformation<T> information, @Nullable KeySpaceResolver keySpaceResolver) Creates newBasicVaultPersistentEntity.- Parameters:
information- must not be null.keySpaceResolver- can be null.
-
-
Method Details
-
getKeySpace
- Specified by:
getKeySpacein interfaceKeyValuePersistentEntity<T,VaultPersistentProperty> - Overrides:
getKeySpacein classBasicKeyValuePersistentEntity<T,VaultPersistentProperty>
-
getSecretBackend
- Specified by:
getSecretBackendin interfaceVaultPersistentEntity<T>- Returns:
- the secret backend in which this
PersistentEntityis stored.
-