Package io.opencaesar.oml.util
Enum Class OmlDelete.CascadeDirection
- All Implemented Interfaces:
Serializable
,Comparable<OmlDelete.CascadeDirection>
,Constable
- Enclosing class:
- OmlDelete
The enumeration of Cascade direction
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf source is deleted, also delete targetIf target is deleted, also delete source -
Method Summary
Modifier and TypeMethodDescriptionstatic OmlDelete.CascadeDirection
Returns the enum constant of this class with the specified name.static OmlDelete.CascadeDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOURCE_TO_TARGET
If source is deleted, also delete target -
TARGET_TO_SOURCE
If target is deleted, also delete source
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-