public class ForeignKeyAction extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static ForeignKeyAction |
CASCADE
update/delete-action="cascade".
|
static ForeignKeyAction |
DEFAULT
update/delete-action="default".
|
static ForeignKeyAction |
NONE
update/delete-action="none".
|
static ForeignKeyAction |
NULL
update/delete-action="null".
|
static ForeignKeyAction |
RESTRICT
update/delete-action="restrict".
|
Modifier | Constructor and Description |
---|---|
protected |
ForeignKeyAction(int i)
constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ForeignKeyAction |
getForeignKeyAction(String value)
Return ForeignKeyDeleteAction from String.
|
protected int |
getType()
Accessor for the type.
|
int |
hashCode() |
String |
toString()
Returns a string representation of the object.
|
public static final ForeignKeyAction CASCADE
public static final ForeignKeyAction RESTRICT
public static final ForeignKeyAction NULL
public static final ForeignKeyAction DEFAULT
public static final ForeignKeyAction NONE
protected ForeignKeyAction(int i)
i
- type idpublic String toString()
protected int getType()
public static ForeignKeyAction getForeignKeyAction(String value)
value
- delete-action attribute valueCopyright © 2019. All rights reserved.