code: function extractClassName(name) {
    if (name.indexOf('(') === -1) {
      return { entityName: name, tableName: _.snakeCase(name).toLowerCase() };
    }
    const split = name.split('(');
    return {
      entityName: split[0].trim(),
      tableName: _.snakeCase(
        split[1].slice(0, split[1].length - 1).trim()
      ).toLowerCase()
    };
  }
docs: Extracts the entity name and the table name from the name parsed from
  the XMI file.
  
  @param name the name from the XMI file.
  @return {Object} the object containing the entity name and the table name.