org.apache.openjpa.persistence.jdbc
Annotation Type ForeignKey
@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface ForeignKey
Foreign key definition.
- Since:
- 0.4.0
- Author:
- Abe White
name
public abstract String name
- Default:
- ""
enabled
public abstract boolean enabled
- Default:
- true
deferred
public abstract boolean deferred
- Default:
- false
deleteAction
public abstract ForeignKeyAction deleteAction
- Default:
- org.apache.openjpa.persistence.jdbc.ForeignKeyAction.RESTRICT
updateAction
public abstract ForeignKeyAction updateAction
- Default:
- org.apache.openjpa.persistence.jdbc.ForeignKeyAction.RESTRICT
columnNames
public abstract String[] columnNames
- Default:
- {}
specified
public abstract boolean specified
- Default:
- true
implicit
public abstract boolean implicit
- Default:
- false
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.