Class ForeignKey

java.lang.Object
com.aceql.jdbc.commons.metadata.CatalogAndSchema
com.aceql.jdbc.commons.metadata.ForeignKey
Direct Known Subclasses:
ExportedKey, ImportedKey

public class ForeignKey
extends CatalogAndSchema
A SQL Foreign Key.
Author:
Nicolas de Pomereu
  • Field Details

  • Constructor Details

    • ForeignKey

      public ForeignKey()
  • Method Details

    • getPrimaryKeyTable

      public String getPrimaryKeyTable()
    • getPrimaryKeyColumn

      public String getPrimaryKeyColumn()
    • getForeignKeyCatalog

      public String getForeignKeyCatalog()
    • getForeignKeySchema

      public String getForeignKeySchema()
    • getForeignKeyTable

      public String getForeignKeyTable()
    • getForeignKeyColumn

      public String getForeignKeyColumn()
    • getKeySequence

      public int getKeySequence()
    • getUpdateRule

      public String getUpdateRule()
    • getDeleteRule

      public String getDeleteRule()
    • getForeignKeyName

      public String getForeignKeyName()
    • getPrimaryKeyName

      public String getPrimaryKeyName()
    • getDeferrability

      public int getDeferrability()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object