net.vz.mongodb.jackson.internal.util
Class IdHandler.NoopIdHandler<K>
java.lang.Object
net.vz.mongodb.jackson.internal.util.IdHandler<K,Object>
net.vz.mongodb.jackson.internal.util.IdHandler.NoopIdHandler<K>
- Enclosing class:
- IdHandler<K,D>
public static class IdHandler.NoopIdHandler<K>
- extends IdHandler<K,Object>
Method Summary |
K |
fromDbId(Object dbId)
Convert the given database id to the java objects id |
Object |
toDbId(K id)
Convert the given java object id to the databases id |
Methods inherited from class net.vz.mongodb.jackson.internal.util.IdHandler |
create |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdHandler.NoopIdHandler
public IdHandler.NoopIdHandler()
fromDbId
public K fromDbId(Object dbId)
- Description copied from class:
IdHandler
- Convert the given database id to the java objects id
- Specified by:
fromDbId
in class IdHandler<K,Object>
- Parameters:
dbId
- The database id to convert from
- Returns:
- The converted id
toDbId
public Object toDbId(K id)
- Description copied from class:
IdHandler
- Convert the given java object id to the databases id
- Specified by:
toDbId
in class IdHandler<K,Object>
- Parameters:
id
- The java object id to convert from
- Returns:
- The converted database id
Copyright © 2011-2012 VZ Netzwerke. All Rights Reserved.