|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IAssociationEnd.EMultiplicity>
org.eclipse.tigerstripe.model.IAssociationEnd.EMultiplicity
public static enum IAssociationEnd.EMultiplicity
An enum of the possible values for the multiplicity of an end.
Enum Constant Summary | |
---|---|
ONE
|
|
ONE_STAR
|
|
STAR
|
|
ZERO
|
|
ZERO_ONE
|
|
ZERO_STAR
|
Method Summary | |
---|---|
static IAssociationEnd.EMultiplicity |
at(int index)
|
java.lang.String |
getLabel()
Return the label for an enumeration value. |
static int |
indexOf(IAssociationEnd.EMultiplicity mult)
|
static java.lang.String[] |
labels()
|
static IAssociationEnd.EMultiplicity |
parse(java.lang.String label)
Given a String label, return an enumeration value. |
static IAssociationEnd.EMultiplicity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IAssociationEnd.EMultiplicity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IAssociationEnd.EMultiplicity ONE
public static final IAssociationEnd.EMultiplicity ZERO
public static final IAssociationEnd.EMultiplicity ZERO_ONE
public static final IAssociationEnd.EMultiplicity ZERO_STAR
public static final IAssociationEnd.EMultiplicity ONE_STAR
public static final IAssociationEnd.EMultiplicity STAR
Method Detail |
---|
public static IAssociationEnd.EMultiplicity[] values()
for (IAssociationEnd.EMultiplicity c : IAssociationEnd.EMultiplicity.values()) System.out.println(c);
public static IAssociationEnd.EMultiplicity 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
public static IAssociationEnd.EMultiplicity parse(java.lang.String label)
label
-
public static int indexOf(IAssociationEnd.EMultiplicity mult)
public static IAssociationEnd.EMultiplicity at(int index)
public static java.lang.String[] labels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |