@Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) @Repeatable(value=ForeignKeys.class) public @interface ForeignKey
Modifier and Type | Optional Element and Description |
---|---|
Column[] |
columns
Columns that compose this foreign key.
|
String |
deferred
Whether this foreign key is deferred
(constraint is checked only at commit).
|
ForeignKeyAction |
deleteAction
The delete action of this foreign key.
|
Extension[] |
extensions
Vendor extensions.
|
String[] |
members
Member (field and property) names that compose this foreign key.
|
String |
name
Name of the foreign key.
|
String |
table
Table for the foreign key.
|
String |
unique
Whether this foreign key is unique.
|
ForeignKeyAction |
updateAction
The update action of this foreign key.
|
public abstract String name
public abstract String table
public abstract String deferred
public abstract String unique
public abstract ForeignKeyAction deleteAction
public abstract ForeignKeyAction updateAction
public abstract String[] members
public abstract Column[] columns
public abstract Extension[] extensions
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.