org.springframework.data.document.mongodb.repository
Interface MongoEntityInformation<T,ID extends java.io.Serializable>

All Known Implementing Classes:
MappingMongoEntityInformation

public interface MongoEntityInformation<T,ID extends java.io.Serializable>

Mongo specific EntityInformation.

Author:
Oliver Gierke

Method Summary
 java.lang.String getCollectionName()
          Returns the name of the collection the entity shall be persisted to.
 java.lang.String getIdAttribute()
          Returns the attribute that the id will be persisted to.
 

Method Detail

getCollectionName

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

Returns:

getIdAttribute

java.lang.String getIdAttribute()
Returns the attribute that the id will be persisted to.

Returns: