schemacrawler.schemacrawler
Class InformationSchemaViews

java.lang.Object
  extended by schemacrawler.schemacrawler.InformationSchemaViews
All Implemented Interfaces:
Serializable, Options

public final class InformationSchemaViews
extends Object
implements Options

The database specific views to get additional database metadata in a standard format.

Author:
Sualeh Fatehi
See Also:
Serialized Form

Constructor Summary
InformationSchemaViews()
          Creates empty information schema views.
 
Method Summary
 String getCheckConstraints()
          Gets the table check constraints SQL from the additional configuration.
 String getIndexInfo()
          Gets the index info SQL from the additional configuration.
 String getRoutines()
          Gets the procedure definitions SQL from the additional configuration.
 String getTableConstraints()
          Gets the table constraints SQL from the additional configuration.
 String getTriggers()
          Gets the trigger definitions SQL from the additional configuration.
 String getViews()
          Gets the view definitions SQL from the additional configuration.
 boolean hasCheckConstraintsSql()
           
 boolean hasIndexInfoSql()
           
 boolean hasRoutinesSql()
           
 boolean hasTableConstraintsSql()
           
 boolean hasTriggerSql()
           
 boolean hasViewsSql()
           
 void setCheckConstraintsSql(String sql)
          Sets the table check constraints SQL from the additional configuration.
 void setIndexInfoSql(String sql)
          Sets the index info SQL from the additional configuration.
 void setRoutinesSql(String sql)
          Sets the procedure definitions SQL from the additional configuration.
 void setTableConstraintsSql(String sql)
          Sets the table constraints SQL from the additional configuration.
 void setTriggersSql(String sql)
          Sets the trigger definitions SQL from the additional configuration.
 void setViewsSql(String sql)
          Sets the view definitions SQL from the additional configuration.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InformationSchemaViews

public InformationSchemaViews()
Creates empty information schema views.

Method Detail

getCheckConstraints

public String getCheckConstraints()
Gets the table check constraints SQL from the additional configuration.

Returns:
Table check constraints SQL.

getIndexInfo

public String getIndexInfo()
Gets the index info SQL from the additional configuration.

Returns:
Index info constraints SQL.

getRoutines

public String getRoutines()
Gets the procedure definitions SQL from the additional configuration.

Returns:
Procedure defnitions SQL.

getTableConstraints

public String getTableConstraints()
Gets the table constraints SQL from the additional configuration.

Returns:
Table constraints SQL.

getTriggers

public String getTriggers()
Gets the trigger definitions SQL from the additional configuration.

Returns:
Trigger defnitions SQL.

getViews

public String getViews()
Gets the view definitions SQL from the additional configuration.

Returns:
View defnitions SQL.

hasCheckConstraintsSql

public boolean hasCheckConstraintsSql()

hasIndexInfoSql

public boolean hasIndexInfoSql()

hasRoutinesSql

public boolean hasRoutinesSql()

hasTableConstraintsSql

public boolean hasTableConstraintsSql()

hasTriggerSql

public boolean hasTriggerSql()

hasViewsSql

public boolean hasViewsSql()

setCheckConstraintsSql

public void setCheckConstraintsSql(String sql)
Sets the table check constraints SQL from the additional configuration.

Parameters:
sql - Table check constraints SQL.

setIndexInfoSql

public void setIndexInfoSql(String sql)
Sets the index info SQL from the additional configuration.

Parameters:
sql - Index info constraints SQL.

setRoutinesSql

public void setRoutinesSql(String sql)
Sets the procedure definitions SQL from the additional configuration.

Parameters:
sql - Procedure defnitions SQL.

setTableConstraintsSql

public void setTableConstraintsSql(String sql)
Sets the table constraints SQL from the additional configuration.

Parameters:
sql - Table constraints SQL.

setTriggersSql

public void setTriggersSql(String sql)
Sets the trigger definitions SQL from the additional configuration.

Parameters:
sql - Trigger defnitions SQL.

setViewsSql

public void setViewsSql(String sql)
Sets the view definitions SQL from the additional configuration.

Parameters:
sql - View defnitions SQL.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2009 Sualeh Fatehi. All Rights Reserved.