public void check ( ModelDef modelDef , String checkLevel ) throws ConstraintException { ensureReferencedKeys ( modelDef , checkLevel ) ; checkReferenceForeignkeys ( modelDef , checkLevel ) ; checkCollectionForeignkeys ( modelDef , checkLevel ) ; checkKeyModifications ( modelDef , checkLevel ) ; }
Checks the given model .