Class MappingVaultEntityInformation<T,ID>
java.lang.Object
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
org.springframework.vault.repository.core.MappingVaultEntityInformation<T,ID>
- All Implemented Interfaces:
EntityInformation<T,
,ID> EntityMetadata<T>
,VaultEntityInformation<T,
ID>
public class MappingVaultEntityInformation<T,ID>
extends PersistentEntityInformation<T,ID>
implements VaultEntityInformation<T,ID>
VaultEntityInformation
implementation using a VaultPersistentEntity
instance to lookup the necessary information. Can be configured with a custom
collection to be returned which will trump the one returned by the
VaultPersistentEntity
if given.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getIdType, getJavaType, isNew
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.core.EntityInformation
getId, getIdType, getRequiredId, isNew
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Constructor Details
-
MappingVaultEntityInformation
- Parameters:
entity
-
-