@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface ForeignKey
Modifier and Type | Optional Element and Description |
---|---|
Column[] |
columns
Columns that compose this foreign key.
|
java.lang.String |
deferred
Whether this foreign key is deferred
(constraint is checked only at commit).
|
ForeignKeyAction |
deleteAction
The delete action of this foreign key.
|
java.lang.String[] |
members
Member (field and property) names that compose this foreign key.
|
java.lang.String |
name
Name of the foreign key.
|
java.lang.String |
table
Table for the foreign key.
|
java.lang.String |
unique
Whether this foreign key is unique.
|
ForeignKeyAction |
updateAction
The update action of this foreign key.
|
public abstract java.lang.String name
public abstract java.lang.String table
public abstract java.lang.String deferred
public abstract java.lang.String unique
public abstract ForeignKeyAction deleteAction
public abstract ForeignKeyAction updateAction
public abstract java.lang.String[] members
public abstract Column[] columns