Package org.opengis.cite.gpkg10
Class ForeignKeyDefinition
java.lang.Object
org.opengis.cite.gpkg10.ForeignKeyDefinition
ForeignKeyDefinition class.
- Author:
- Luke Lambert
-
Constructor Summary
ConstructorDescriptionForeignKeyDefinition
(String referenceTableName, String fromColumnName, String toColumnName) Constructor for ForeignKeyDefinition. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for the fieldfromColumnName
.Getter for the fieldreferenceTableName
.Getter for the fieldtoColumnName
.int
hashCode()
-
Constructor Details
-
ForeignKeyDefinition
Constructor for ForeignKeyDefinition.
- Parameters:
referenceTableName
- the table name with the foreign key constraintfromColumnName
- the name of the column that the link between two tables is fromtoColumnName
- the name of the column that the link between two tables is to
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getReferenceTableName
Getter for the field
referenceTableName
.- Returns:
- the referenceTableName
-
getFromColumnName
Getter for the field
fromColumnName
.- Returns:
- the fromColumnName
-
getToColumnName
Getter for the field
toColumnName
.- Returns:
- the toColumnName
-