Interface MongoCollectionNameProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String provide​(io.micronaut.data.model.PersistentEntity persistentEntity)
      Provides the MongoDB collection name based on the PersistentEntity.
    • Method Detail

      • provide

        @NonNull
        java.lang.String provide​(@NonNull
                                 io.micronaut.data.model.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