Example #1
0
 /**
  * Retrieves the class name of the value object associated to given table name.
  *
  * @param tableName the table name.
  * @param englishGrammarUtils the {@link EnglishGrammarUtils} instance.
  * @param stringUtils the {@link StringUtils} instance.
  * @return the class name.
  */
 protected String getVoClassName(
     @NotNull final String tableName,
     @NotNull final EnglishGrammarUtils englishGrammarUtils,
     @NotNull final StringUtils stringUtils) {
   return stringUtils.capitalize(
       englishGrammarUtils.getSingular(tableName.toLowerCase(Locale.US)), '_');
 }