|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IModelComponent.EMultiplicity>
org.eclipse.tigerstripe.workbench.model.deprecated_.IModelComponent.EMultiplicity
public static enum IModelComponent.EMultiplicity
An enum of the possible values for the multiplicity of an component.
| Enum Constant Summary | |
|---|---|
ONE
|
|
ONE_STAR
|
|
STAR
|
|
ZERO
|
|
ZERO_ONE
|
|
ZERO_STAR
|
|
| Method Summary | |
|---|---|
static IModelComponent.EMultiplicity |
at(int index)
|
java.lang.String |
getLabel()
Return the label for an enumeration value. |
static int |
indexOf(IModelComponent.EMultiplicity mult)
|
static int |
indexOf(java.lang.String multLiteral)
|
boolean |
isArray()
|
static java.lang.String[] |
labels()
|
static IModelComponent.EMultiplicity |
parse(java.lang.String label)
Given a String label, return an enumeration value. |
static IModelComponent.EMultiplicity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IModelComponent.EMultiplicity[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 IModelComponent.EMultiplicity ZERO
public static final IModelComponent.EMultiplicity ZERO_ONE
public static final IModelComponent.EMultiplicity ZERO_STAR
public static final IModelComponent.EMultiplicity STAR
public static final IModelComponent.EMultiplicity ONE
public static final IModelComponent.EMultiplicity ONE_STAR
| Method Detail |
|---|
public static final IModelComponent.EMultiplicity[] values()
for(IModelComponent.EMultiplicity c : IModelComponent.EMultiplicity.values())
System.out.println(c);
public static IModelComponent.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 namepublic java.lang.String getLabel()
public boolean isArray()
public static IModelComponent.EMultiplicity parse(java.lang.String label)
label -
public static int indexOf(IModelComponent.EMultiplicity mult)
public static int indexOf(java.lang.String multLiteral)
public static IModelComponent.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 | |||||||||