org.springframework.data.document.mongodb.convert
Class ObjectIdConverters

java.lang.Object
  extended by org.springframework.data.document.mongodb.convert.ObjectIdConverters

abstract class ObjectIdConverters
extends java.lang.Object

Wrapper class to contain useful ObjectId-to-something-and-back converters.

Author:
Oliver Gierke

Nested Class Summary
static class ObjectIdConverters.BigIntegerToObjectIdConverter
          Simple singleton to convert BigIntegers to their ObjectId representation.
static class ObjectIdConverters.ObjectIdToBigIntegerConverter
          Simple singleton to convert ObjectIds to their BigInteger representation.
static class ObjectIdConverters.ObjectIdToStringConverter
          Simple singleton to convert ObjectIds to their String representation.
static class ObjectIdConverters.StringToObjectIdConverter
          Simple singleton to convert Strings to their ObjectId representation.
 
Constructor Summary
private ObjectIdConverters()
          Private constructor to prevent instantiation.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIdConverters

private ObjectIdConverters()
Private constructor to prevent instantiation.