|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.metadata.ForeignKeyAction
org.jpox.metadata.ForeignKeyUpdateAction
Foreign keys represent a consistency constraint in the database that must be maintained. The user can specify by the update-action attribute what happens if the target row of a foreign key is updated See jdo specification 2.0 §15.5
Field Summary | |
static ForeignKeyUpdateAction |
CASCADE
update-action="cascade". |
static ForeignKeyUpdateAction |
DEFAULT
update-action="default". |
static ForeignKeyUpdateAction |
DEFAULT_ACTION
the default action |
static ForeignKeyUpdateAction |
NULL
update-action="null". |
static ForeignKeyUpdateAction |
RESTRICT
update-action="restrict". |
Method Summary | |
static ForeignKeyUpdateAction |
getForeignKeyUpdateAction(java.lang.String value)
Return ForeignKeyUpdateAction from String. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class org.jpox.metadata.ForeignKeyAction |
equals, getType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ForeignKeyUpdateAction CASCADE
public static final ForeignKeyUpdateAction RESTRICT
public static final ForeignKeyUpdateAction NULL
public static final ForeignKeyUpdateAction DEFAULT
public static final ForeignKeyUpdateAction DEFAULT_ACTION
Method Detail |
public java.lang.String toString()
public static ForeignKeyUpdateAction getForeignKeyUpdateAction(java.lang.String value)
value
- update-action attribute value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |