Spring Data Document

org.springframework.data.mongodb
Class MongoCollectionUtils

java.lang.Object
  extended by 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

Method Summary
static String getPreferredCollectionName(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 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

Spring Data Document

Copyright © 2012. All Rights Reserved.