ch.agent.crnickl.mongodb
Class MongoDBObjectId

java.lang.Object
  extended by ch.agent.crnickl.mongodb.MongoDBObjectId
All Implemented Interfaces:
ch.agent.crnickl.api.DBObjectId

public class MongoDBObjectId
extends Object
implements ch.agent.crnickl.api.DBObjectId

JDBC databases provide an int32 as id of inserted rows.

Author:
Jean-Paul Vetterli

Constructor Summary
MongoDBObjectId(org.bson.types.ObjectId id)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 org.bson.types.ObjectId value()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MongoDBObjectId

public MongoDBObjectId(org.bson.types.ObjectId id)
Method Detail

value

public org.bson.types.ObjectId value()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.