/** * Convenience function to return a human-friendly name * * @param input * @return nice english */ private String niceEnglish(String input) { String result = input; if (this.isManyToMany() || this.isOneToMany()) { result = SyncUtils.pluralize(input); } return result; }
/** * Sets the propertyName * * @param propertyName the propertyName to set */ public final void setPropertyName(String propertyName) { this.propertyName = SyncUtils.removeUnderscores(propertyName); }
/** * Sets the name of this property * * @param javaName the javaName to set */ public final void setJavaName(String javaName) { this.javaName = SyncUtils.removeUnderscores(javaName); }