Ejemplo n.º 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;
  }
Ejemplo n.º 2
0
 /**
  * Sets the propertyName
  *
  * @param propertyName the propertyName to set
  */
 public final void setPropertyName(String propertyName) {
   this.propertyName = SyncUtils.removeUnderscores(propertyName);
 }
Ejemplo n.º 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);
 }