|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CascadeStyle>
com.softwareag.centrasite.appl.framework.mapping.CascadeStyle
public enum CascadeStyle
A style of cascade that can be specified for a Relation
property.
Enum Constant Summary | |
---|---|
ALL
Cascade on all operations. |
|
DELETE
Cascade on delete operations. |
|
NONE
No cascading. |
|
UPDATE
Cascade on update operations. |
Method Summary | |
---|---|
boolean |
doCascadeUpdate()
Determines if this CascadeStyle applies for update operation. |
boolean |
hasCascadeDelete()
Determines if this CascadeStyle applies for delete operation. |
static CascadeStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CascadeStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CascadeStyle ALL
public static final CascadeStyle DELETE
public static final CascadeStyle UPDATE
public static final CascadeStyle NONE
Method Detail |
---|
public static CascadeStyle[] values()
for (CascadeStyle c : CascadeStyle.values()) System.out.println(c);
public static CascadeStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean hasCascadeDelete()
CascadeStyle
applies for delete operation.
public boolean doCascadeUpdate()
CascadeStyle
applies for update operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |