示例#1
0
  /**
   * 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;
  }
示例#2
0
 /**
  * Sets the propertyName
  *
  * @param propertyName the propertyName to set
  */
 public final void setPropertyName(String propertyName) {
   this.propertyName = SyncUtils.removeUnderscores(propertyName);
 }
示例#3
0
 /**
  * Sets the name of this property
  *
  * @param javaName the javaName to set
  */
 public final void setJavaName(String javaName) {
   this.javaName = SyncUtils.removeUnderscores(javaName);
 }