Class ForeignKeyDefinition

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

public class ForeignKeyDefinition extends Object

ForeignKeyDefinition class.

Author:
Luke Lambert
  • Constructor Details

    • ForeignKeyDefinition

      public ForeignKeyDefinition(String referenceTableName, String fromColumnName, String toColumnName)

      Constructor for ForeignKeyDefinition.

      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()

      Getter for the field referenceTableName.

      Returns:
      the referenceTableName
    • getFromColumnName

      public String getFromColumnName()

      Getter for the field fromColumnName.

      Returns:
      the fromColumnName
    • getToColumnName

      public String getToColumnName()

      Getter for the field toColumnName.

      Returns:
      the toColumnName