public class ForeignKey extends Object
| Modifier and Type | Field and Description | 
|---|---|
| String | foreignColumnNamesContains all foreign column names in a comma-separated String. | 
| String | foreignTableThe name of the foreign table. | 
| String | localColumnNamesContains all local column names in a comma-separated String. | 
| String | nameThe name of the foreign key. | 
| String | onDeleteThe action performed by the database if the referenced record is deleted. | 
| String | onUpdateThe action performed by the database if the referenced record is updated. | 
| List<Option> | optionListThe list of options for this foreign key. | 
| Table | parentThe table to which this foreign key definition belongs. | 
| List<Reference> | referenceListThe list of column references for this foreign key. | 
| Constructor and Description | 
|---|
| ForeignKey() | 
public Table parent
public List<Reference> referenceList
public String name
public String foreignTable
public String onDelete
public String onUpdate
public String localColumnNames
public String foreignColumnNames
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.