public enum ChoiceItemType extends java.lang.Enum<ChoiceItemType>
RMChoiceItem
belonging
to a RMChoiceList
.Enum Constant and Description |
---|
Integer
Indicates that the
RMChoiceItem is an integer-type
choice item. |
IntegerMidNode
Indicates that the
RMChoiceItem is a group
node for a nested collection of integer-type choice items. |
String
Indicates that the
RMChoiceItem is a string-type
choice item. |
StringMidNode
Indicates that the
RMChoiceItem is a group
node for a nested collection of string-type choice items. |
Modifier and Type | Method and Description |
---|---|
static ChoiceItemType |
getInstanceFromInt(int intValue)
Provides the
ChoiceItemType instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static ChoiceItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChoiceItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChoiceItemType Integer
RMChoiceItem
is an integer-type
choice item.public static final ChoiceItemType String
RMChoiceItem
is a string-type
choice item.public static final ChoiceItemType IntegerMidNode
RMChoiceItem
is a group
node for a nested collection of integer-type choice items.public static final ChoiceItemType StringMidNode
RMChoiceItem
is a group
node for a nested collection of string-type choice items.public static ChoiceItemType[] values()
for (ChoiceItemType c : ChoiceItemType.values()) System.out.println(c);
public static ChoiceItemType 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
int
value.public static ChoiceItemType getInstanceFromInt(int intValue)
ChoiceItemType
instance that corresponds to the given
int
value.intValue
- the int
value to look up.ChoiceItemType
value or null
if no such value
corresponds to the given intValue
parameter.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.