cls.setDefaultClusterId(classDefClusterId);
} else
cls = (OClassImpl) database.getMetadata().getSchema().createClass(className, classDefClusterId);
if (classId != cls.getId())
throw new OSchemaException("Imported class '" + className + "' has id=" + cls.getId() + " different from the original: "
+ classId);
if (classClusterIds != null) {
// REMOVE BRACES
classClusterIds = classClusterIds.substring(1, classClusterIds.length() - 1);