Package org.oasisopen.odata.csdl.v4
Enum TOnDeleteAction
- java.lang.Object
-
- java.lang.Enum<TOnDeleteAction>
-
- org.oasisopen.odata.csdl.v4.TOnDeleteAction
-
- All Implemented Interfaces:
Serializable,Comparable<TOnDeleteAction>
public enum TOnDeleteAction extends Enum<TOnDeleteAction>
Java class for TOnDeleteAction.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TOnDeleteAction"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="Cascade"/> <enumeration value="None"/> <enumeration value="SetDefault"/> <enumeration value="SetNull"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASCADENONESET_DEFAULTSET_NULL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TOnDeleteActionfromValue(String v)Stringvalue()static TOnDeleteActionvalueOf(String name)Returns the enum constant of this type with the specified name.static TOnDeleteAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CASCADE
public static final TOnDeleteAction CASCADE
-
NONE
public static final TOnDeleteAction NONE
-
SET_DEFAULT
public static final TOnDeleteAction SET_DEFAULT
-
SET_NULL
public static final TOnDeleteAction SET_NULL
-
-
Method Detail
-
values
public static TOnDeleteAction[] 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 (TOnDeleteAction c : TOnDeleteAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TOnDeleteAction 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
-
value
public String value()
-
fromValue
public static TOnDeleteAction fromValue(String v)
-
-