final String databaseID;
if(mDB == null)
databaseID = "mDB==null!";
else {
final ObjectInfo oi = mDB.getObjectInfo(this);
if(oi == null)
databaseID = "object not stored";
else
databaseID = Long.toString(oi.getInternalID());
}
return super.toString() + " (databaseID: " + databaseID + ")";
}