public interface RMChoiceItem
RMChoiceList
collection that
can be either an individual choice node or a group node of nested choices.
Individual RMChoiceItem
instances are only available as
members of their parent RMChoiceList
using the
RMChoiceList.getChoiceListValues
or
as a member of a nested group node using
RMChoiceItem.getGroupChoiceItems
.
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getChoiceIntegerValue()
The value of the choice item for an integer-type choice list.
|
ChoiceItemType |
getChoiceItemType()
Returns the enumerated
ChoiceItemType value describing this particular choice item. |
java.lang.String |
getChoiceStringValue()
The value of the choice item for a string-type choice list.
|
java.lang.String |
getDisplayName()
Returns the localized label for this choice item based upon the current thread's locale
setting.
|
java.util.Map<java.lang.String,java.lang.String> |
getDisplayNames()
Returns a
Map of localized labels for this choice item keyed by locale name. |
java.util.List<RMChoiceItem> |
getGroupChoiceItems()
Returns the collection of nested
RMChoiceItem s for a group-node choice item. |
java.lang.String |
getId()
Returns the repository unique identifier for this choice item.
|
java.lang.String |
getName()
Returns a label
String for this choice item. |
java.lang.Integer getChoiceIntegerValue()
Integer
, or null
if not an integer-type choice item.java.lang.String getChoiceStringValue()
String
, or null
if not a string-type choice item.ChoiceItemType getChoiceItemType()
ChoiceItemType
value describing this particular choice item.ChoiceItemType
value.java.util.List<RMChoiceItem> getGroupChoiceItems()
RMChoiceItem
s for a group-node choice item.List<RMChoiceItem>
collection.java.lang.String getDisplayName()
String
value.java.util.Map<java.lang.String,java.lang.String> getDisplayNames()
Map
of localized labels for this choice item keyed by locale name.Map<String, String>
java.lang.String getId()
String
value.java.lang.String getName()
String
for this choice item.String
value.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.