org.springframework.data.mongodb.repository.query

Interface MongoEntityMetadata<T>

  • All Superinterfaces:
    EntityMetadata<T>


    public interface MongoEntityMetadata<T>
    extends EntityMetadata<T>
    Extension of EntityMetadata to additionally expose the collection name an entity shall be persisted to.
    Author:
    Oliver Gierke
    • Method Detail

      • getCollectionName

        String getCollectionName()
        Returns the name of the collection the entity shall be persisted to.
        Returns: