Spring Data MongoDB

org.springframework.data.mongodb.core.mapping
Interface MongoPersistentEntity<T>

All Superinterfaces:
PersistentEntity<T,MongoPersistentProperty>
All Known Implementing Classes:
BasicMongoPersistentEntity

public interface MongoPersistentEntity<T>
extends PersistentEntity<T,MongoPersistentProperty>

MongoDB specific PersistentEntity abstraction.

Author:
Oliver Gierke

Method Summary
 String getCollection()
          Returns the collection the entity shall be persisted to.
 
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAssociations, doWithProperties, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty
 

Method Detail

getCollection

String getCollection()
Returns the collection the entity shall be persisted to.

Returns:

Spring Data MongoDB

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