public enum ReferenceChangePolicyEnum extends Enum<ReferenceChangePolicyEnum>
| Enum Constant and Description |
|---|
CASCADE
Represents cascade.
|
NO_ACTION
Represents no-action.
|
NOT_ALLOWED
Represents not-allowed.
|
| Modifier and Type | Method and Description |
|---|---|
static ReferenceChangePolicyEnum |
of(int value)
Returns the object of referenceChangePolicyEnum for.
|
static ReferenceChangePolicyEnum |
of(String value)
Returns the object of referenceChangePolicyEnum for.
|
int |
referenceChangePolicyEnum()
Returns the attribute referenceChangePolicyEnum.
|
String |
toString() |
static ReferenceChangePolicyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceChangePolicyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceChangePolicyEnum NO_ACTION
public static final ReferenceChangePolicyEnum NOT_ALLOWED
public static final ReferenceChangePolicyEnum CASCADE
public static ReferenceChangePolicyEnum[] values()
for (ReferenceChangePolicyEnum c : ReferenceChangePolicyEnum.values()) System.out.println(c);
public static ReferenceChangePolicyEnum 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 nullpublic static ReferenceChangePolicyEnum of(int value)
value - value of referenceChangePolicyEnum forpublic static ReferenceChangePolicyEnum of(String value)
value - value of referenceChangePolicyEnum forpublic int referenceChangePolicyEnum()
public String toString()
toString in class Enum<ReferenceChangePolicyEnum>Copyright © 2017. All rights reserved.