Spring Data MongoDB

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 Summary
 String getCollectionName()
          Returns the name of the collection the entity shall be persisted to.
 
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
 

Method Detail

getCollectionName

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

Returns:

Spring Data MongoDB

Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.