@Test public void shouldReturnCorrectClassName() throws Exception { String className = ClassNameUtils.getFullyQualifiedClassName("plugin", "model"); String camelClassName = ClassNameUtils.getFullyQualifiedClassName("pluginName", "modelName"); assertEquals("com.qcadoo.model.beans.plugin.PluginModel", className); assertEquals("com.qcadoo.model.beans.pluginName.PluginNameModelName", camelClassName); }
public static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName) { return "com.qcadoo.model.beans." + pluginIdentifier + "." + StringUtils.capitalize(pluginIdentifier) + StringUtils.capitalize(modelName); }
ClassNameUtils { public static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName) { return "com.qcadoo.model.beans." + pluginIdentifier + "." + StringUtils.capitalize(pluginIdentifier) + StringUtils.capitalize(modelName); } }
ClassNameUtils { public static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName) { return "com.qcadoo.model.beans." + pluginIdentifier + "." + StringUtils.capitalize(pluginIdentifier) + StringUtils.capitalize(modelName); } private  ClassNameUtils(); }
ClassNameUtils { public static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName) { return "com.qcadoo.model.beans." + pluginIdentifier + "." + StringUtils.capitalize(pluginIdentifier) + StringUtils.capitalize(modelName); } private  ClassNameUtils(); static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName); }
ClassNameUtils { public static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName) { return "com.qcadoo.model.beans." + pluginIdentifier + "." + StringUtils.capitalize(pluginIdentifier) + StringUtils.capitalize(modelName); } private  ClassNameUtils(); static String getFullyQualifiedClassName(final String pluginIdentifier, final String modelName);  }