Class ForeignKeyDefinition

java.lang.Object
org.opengis.cite.gpkg12.ForeignKeyDefinition

public class ForeignKeyDefinition extends Object
Author:
Luke Lambert
  • Constructor Details

    • ForeignKeyDefinition

      public ForeignKeyDefinition(String referenceTableName, String fromColumnName, String toColumnName)
      Parameters:
      referenceTableName - the table name with the foreign key constraint
      fromColumnName - the name of the column that the link between two tables is from
      toColumnName - the name of the column that the link between two tables is to
  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

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

      public String getReferenceTableName()
      Returns:
      the referenceTableName
    • getFromColumnName

      public String getFromColumnName()
      Returns:
      the fromColumnName
    • getToColumnName

      public String getToColumnName()
      Returns:
      the toColumnName