org.springframework.data.mongodb
Class MongoCollectionUtils
java.lang.Object
org.springframework.data.mongodb.MongoCollectionUtils
public abstract class MongoCollectionUtils
- extends Object
Helper class featuring helper methods for working with MongoDb collections.
Mainly intended for internal use within the framework.
- Since:
- 1.0
- Author:
- Thomas Risberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPreferredCollectionName
public static String getPreferredCollectionName(Class<?> entityClass)
- Obtains the collection name to use for the provided class
- Parameters:
entityClass
- The class to determine the preferred collection name for
- Returns:
- The preferred collection name
Copyright © 2012. All Rights Reserved.