All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.dbmigration.ddlgeneration.DdlOptions Maven / Gradle / Ivy

There is a newer version: 12.5.2
Show newest version
package io.ebeaninternal.dbmigration.ddlgeneration;

/**
 * Options used when generated DDL.
 */
public class DdlOptions {

  private boolean foreignKeySkipCheck;

  public DdlOptions(boolean foreignKeySkipCheck) {
    this.foreignKeySkipCheck = foreignKeySkipCheck;
  }

  public DdlOptions() {
  }

  /**
   * Return true if ADD FOREIGN KEY should use a skip check option.
   */
  public boolean isForeignKeySkipCheck() {
    return foreignKeySkipCheck;
  }

  /**
   * Set to true if ADD FOREIGN KEY should use a skip check option.
   */
  public void setForeignKeySkipCheck(boolean foreignKeySkipCheck) {
    this.foreignKeySkipCheck = foreignKeySkipCheck;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy