Package org.redisson.api
Enum RCascadeType
- java.lang.Object
-
- java.lang.Enum<RCascadeType>
-
- org.redisson.api.RCascadeType
-
- All Implemented Interfaces:
Serializable
,Comparable<RCascadeType>
public enum RCascadeType extends Enum<RCascadeType>
Live Object cascade type.- Author:
- Nikita Koksharov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Includes all cascade types.DELETE
Cascade delete operation duringRLiveObjectService.delete(T)
method invocation.DETACH
Cascade detach operation duringRLiveObjectService.detach(T)
method invocation.MERGE
Cascade merge operation duringRLiveObjectService.merge(T)
method invocation.PERSIST
Cascade persist operation duringRLiveObjectService.persist(T)
method invocation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RCascadeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RCascadeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final RCascadeType ALL
Includes all cascade types.
-
PERSIST
public static final RCascadeType PERSIST
Cascade persist operation duringRLiveObjectService.persist(T)
method invocation.
-
DETACH
public static final RCascadeType DETACH
Cascade detach operation duringRLiveObjectService.detach(T)
method invocation.
-
MERGE
public static final RCascadeType MERGE
Cascade merge operation duringRLiveObjectService.merge(T)
method invocation.
-
DELETE
public static final RCascadeType DELETE
Cascade delete operation duringRLiveObjectService.delete(T)
method invocation.
-
-
Method Detail
-
values
public static RCascadeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RCascadeType c : RCascadeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RCascadeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-