Interface MongoCollectionNameProvider

All Known Implementing Classes:
DefaultMongoCollectionNameProvider

public interface MongoCollectionNameProvider
The MongoDB collection name provider.
Since:
3.9.0
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    provide(@NonNull PersistentEntity persistentEntity)
    Provides the MongoDB collection name based on the PersistentEntity.
  • Method Details

    • provide

      @NonNull @NonNull String provide(@NonNull @NonNull PersistentEntity persistentEntity)
      Provides the MongoDB collection name based on the PersistentEntity.
      Parameters:
      persistentEntity - The persistent entity that is associated to the collection
      Returns:
      The collection name