Interface MongoCollectionNameProvider
-
- All Known Implementing Classes:
DefaultMongoCollectionNameProvider
public interface MongoCollectionNameProviderThe MongoDB collection name provider.- Since:
- 3.9.0
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringprovide(PersistentEntity persistentEntity)Provides the MongoDB collection name based on thePersistentEntity.
-
-
-
Method Detail
-
provide
@NonNull java.lang.String provide(@NonNull PersistentEntity persistentEntity)Provides the MongoDB collection name based on thePersistentEntity.- Parameters:
persistentEntity- The persistent entity that is associated to the collection- Returns:
- The collection name
-
-