public enum RMDeletionAction extends java.lang.Enum<RMDeletionAction>
RMPropertyDescriptionObject
Enum Constant and Description |
---|
Cascade
Indicates that if a object containing a given object-value property is deleted, then any
object that is the property value is also deleted.
|
None
No deletion action is defined.
|
Prevent
If the object-type property has a
non-null value then the object to which
this property belongs cannot be deleted until the object represented
by the property value has been deleted. |
Modifier and Type | Method and Description |
---|---|
static RMDeletionAction |
getInstanceFromInt(int intValue)
Provides the
RMDeletionAction instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static RMDeletionAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMDeletionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMDeletionAction None
public static final RMDeletionAction Prevent
non-null
value then the object to which
this property belongs cannot be deleted until the object represented
by the property value has been deleted.public static final RMDeletionAction Cascade
public static RMDeletionAction[] values()
for (RMDeletionAction c : RMDeletionAction.values()) System.out.println(c);
public static RMDeletionAction 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
int
value.public static RMDeletionAction getInstanceFromInt(int intValue)
RMDeletionAction
instance that corresponds to the given
int
value.intValue
- the int
value to look up.RMDeletionAction
value or null
if no such value
corresponds to the given intValue
parameter.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.