public enum AssociationEnforcement extends Enum<AssociationEnforcement>
Enum Constant and Description |
---|
ENFORCE_NO |
ENFORCE_YES |
Modifier and Type | Method and Description |
---|---|
static AssociationEnforcement |
getEnumValue(int val)
Get enum for the int value
|
int |
getType() |
static AssociationEnforcement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationEnforcement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationEnforcement ENFORCE_YES
public static final AssociationEnforcement ENFORCE_NO
public static AssociationEnforcement[] values()
for (AssociationEnforcement c : AssociationEnforcement.values()) System.out.println(c);
public static AssociationEnforcement 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 int getType()
public static AssociationEnforcement getEnumValue(int val)
val
- ? Copyright 2013 BMC Software, Inc.