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

schemacrawler.tools.text.schema.SchemaTextOptions Maven / Gradle / Ivy

Go to download

SchemaCrawler is an open-source Java API that makes working with database metadata as easy as working with plain old Java objects. SchemaCrawler is also a database schema discovery and comprehension, and schema documentation tool. You can search for database schema objects using regular expressions, and output the schema and data in a readable text format. The output is designed to be diff-ed against other database schemas.

There is a newer version: 16.25.2
Show newest version
/*
========================================================================
SchemaCrawler
http://www.schemacrawler.com
Copyright (c) 2000-2016, Sualeh Fatehi .
All rights reserved.
------------------------------------------------------------------------

SchemaCrawler is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SchemaCrawler and the accompanying materials are made available under
the terms of the Eclipse Public License v1.0, GNU General Public License
v3 or GNU Lesser General Public License v3.

You may elect to redistribute this code under any of these licenses.

The Eclipse Public License is available at:
http://www.eclipse.org/legal/epl-v10.html

The GNU General Public License v3 and the GNU Lesser General Public
License v3 are available at:
http://www.gnu.org/licenses/

========================================================================
*/

package schemacrawler.tools.text.schema;


import schemacrawler.tools.text.base.BaseTextOptions;

public class SchemaTextOptions
  extends BaseTextOptions
{

  private static final long serialVersionUID = -8133661515343358712L;

  private boolean isAlphabeticalSortForForeignKeys;
  private boolean isAlphabeticalSortForIndexes;
  private boolean isHideForeignKeyNames;
  private boolean isHideIndexNames;
  private boolean isHidePrimaryKeyNames;
  private boolean isHideRemarks;
  private boolean isHideRoutineSpecificNames;
  private boolean isHideTableConstraintNames;
  private boolean isHideTriggerNames;
  private boolean isHideWeakAssociations;
  private boolean isShowOrdinalNumbers;
  private boolean isShowStandardColumnTypeNames;
  private boolean isShowRowCounts;

  public boolean isAlphabeticalSortForForeignKeys()
  {
    return isAlphabeticalSortForForeignKeys;
  }

  public boolean isAlphabeticalSortForIndexes()
  {
    return isAlphabeticalSortForIndexes;
  }

  public boolean isHideForeignKeyNames()
  {
    return isHideForeignKeyNames;
  }

  public boolean isHideIndexNames()
  {
    return isHideIndexNames;
  }

  public boolean isHidePrimaryKeyNames()
  {
    return isHidePrimaryKeyNames;
  }

  public boolean isHideRemarks()
  {
    return isHideRemarks;
  }

  public boolean isHideRoutineSpecificNames()
  {
    return isHideRoutineSpecificNames;
  }

  public boolean isHideTableConstraintNames()
  {
    return isHideTableConstraintNames;
  }

  public boolean isHideTriggerNames()
  {
    return isHideTriggerNames;
  }

  public boolean isHideWeakAssociations()
  {
    return isHideWeakAssociations;
  }

  public boolean isShowOrdinalNumbers()
  {
    return isShowOrdinalNumbers;
  }

  public boolean isShowRowCounts()
  {
    return isShowRowCounts;
  }

  public boolean isShowStandardColumnTypeNames()
  {
    return isShowStandardColumnTypeNames;
  }

  public void setAlphabeticalSortForForeignKeys(final boolean isAlphabeticalSortForForeignKeys)
  {
    this.isAlphabeticalSortForForeignKeys = isAlphabeticalSortForForeignKeys;
  }

  public void setAlphabeticalSortForIndexes(final boolean isAlphabeticalSortForIndexes)
  {
    this.isAlphabeticalSortForIndexes = isAlphabeticalSortForIndexes;
  }

  public void setHideConstraintNames(final boolean isHideTableConstraintNames)
  {
    this.isHideTableConstraintNames = isHideTableConstraintNames;
  }

  public void setHideForeignKeyNames(final boolean isHideForeignKeyNames)
  {
    this.isHideForeignKeyNames = isHideForeignKeyNames;
  }

  public void setHideIndexNames(final boolean isHideIndexNames)
  {
    this.isHideIndexNames = isHideIndexNames;
  }

  public void setHidePrimaryKeyNames(final boolean isHidePrimaryKeyNames)
  {
    this.isHidePrimaryKeyNames = isHidePrimaryKeyNames;
  }

  public void setHideRemarks(final boolean isHideRemarks)
  {
    this.isHideRemarks = isHideRemarks;
  }

  public void setHideRoutineSpecificNames(final boolean isHideRoutineSpecificNames)
  {
    this.isHideRoutineSpecificNames = isHideRoutineSpecificNames;
  }

  public void setHideTableConstraintNames(final boolean isHideTableConstraintNames)
  {
    this.isHideTableConstraintNames = isHideTableConstraintNames;
  }

  public void setHideTriggerNames(final boolean isHideTriggerNames)
  {
    this.isHideTriggerNames = isHideTriggerNames;
  }

  public void setHideWeakAssociations(final boolean isHideWeakAssociations)
  {
    this.isHideWeakAssociations = isHideWeakAssociations;
  }

  public void setShowOrdinalNumbers(final boolean isShowOrdinalNumbers)
  {
    this.isShowOrdinalNumbers = isShowOrdinalNumbers;
  }

  public void setShowRowCounts(final boolean isShowRowCounts)
  {
    this.isShowRowCounts = isShowRowCounts;
  }

  public void setShowStandardColumnTypeNames(final boolean isShowStandardColumnTypeNames)
  {
    this.isShowStandardColumnTypeNames = isShowStandardColumnTypeNames;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy