public enum EdmOnDelete extends Enum<EdmOnDelete>
| Enum Constant and Description | 
|---|
| CascadeCascade, meaning the related entities will be deleted if the source entity is deleted | 
| NoneNone, meaning a DELETE request on a source entity with related entities will fail, | 
| SetDefaultSetDefault, meaning all properties of related entities that are tied to properties of the source entity via 
 a referential constraint and that do not participate in other referential constraints will be set to 
 their default value. | 
| SetNullSetNull, meaning all properties of related entities that are tied to properties of the source entity via a 
 referential constraint and that do not participate in other referential constraints will be set to null, | 
| Modifier and Type | Method and Description | 
|---|---|
| static EdmOnDelete | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static EdmOnDelete[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final EdmOnDelete Cascade
public static final EdmOnDelete None
public static final EdmOnDelete SetNull
public static final EdmOnDelete SetDefault
public static EdmOnDelete[] values()
for (EdmOnDelete c : EdmOnDelete.values()) System.out.println(c);
public static EdmOnDelete valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.