code: public DBObject getObject(TableDefinition tableDef, String objID) {
          checkServiceState();
          String storeName = objectsStoreName(tableDef);
          Tenant tenant = Tenant.getTenant(tableDef);
          Iterator<DColumn> colIter = DBService.instance(tenant).getAllColumns(storeName, objID).iterator();
          if (!colIter.hasNext()) {
              return null;
          }
  
          DBObject dbObj = createObject(tableDef, objID, colIter);
          addShardedLinkValues(tableDef, dbObj);
          return dbObj;
      }
docs: Get all scalar and link fields for the object in the given table with the given ID.
  
  @param tableDef  {@link TableDefinition} in which object resides.
  @param objID     Object ID.
  @return          {@link DBObject} containing all object scalar and link fields, or
  null if there is no such object.