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