code: public void check(ClassDescriptorDef classDef, String checkLevel) throws ConstraintException
      {
          ensureNoTableInfoIfNoRepositoryInfo(classDef, checkLevel);
          checkModifications(classDef, checkLevel);
          checkExtents(classDef, checkLevel);
          ensureTableIfNecessary(classDef, checkLevel);
          checkFactoryClassAndMethod(classDef, checkLevel);
          checkInitializationMethod(classDef, checkLevel);
          checkPrimaryKey(classDef, checkLevel);
          checkProxyPrefetchingLimit(classDef, checkLevel);
          checkRowReader(classDef, checkLevel);
          checkObjectCache(classDef, checkLevel);
          checkProcedures(classDef, checkLevel);
      }
docs: Checks the given class descriptor.
  
  @param classDef   The class descriptor
  @param checkLevel The amount of checks to perform
  @exception ConstraintException If a constraint has been violated