org.springframework.data.document.mongodb
Class MongoCollectionUtils

java.lang.Object
  extended by org.springframework.data.document.mongodb.MongoCollectionUtils

public abstract class MongoCollectionUtils
extends java.lang.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

Method Summary
static java.lang.String getPreferredCollectionName(java.lang.Class<?> entityClass)
          Obtains the collection name to use for the provided class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPreferredCollectionName

public static java.lang.String getPreferredCollectionName(java.lang.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 © 2011. All Rights Reserved.