public interface RMChoiceList extends BaseEntity
RMPropertyDescription
.
Specifically, a RMChoiceList
contains child
RMChoiceItem
instances each of which is either a
single choice or a sub-grouping of choices.
A specific choice list can be acquired using the
RMFactory.RMChoiceList
factory class.
All available choice lists for a repository can be acquired using the
Repository.fetchChoiceLists
method.
RMFactory.RMChoiceList
Modifier and Type | Method and Description |
---|---|
java.util.List<RMChoiceItem> |
getChoiceListValues()
Returns the collection of top level
RMChoiceItem instances contained
by this choice list. |
DataType |
getDataType()
Returns the data type of the underlying value for each non-group type
choice item in this choice list.
|
java.lang.String |
getDescriptiveText()
Returns any descriptive text for this choice list.
|
java.lang.String |
getDisplayName()
Returns a displayable label for this choice list.
|
java.lang.String |
getId()
Returns the repository unique identifier for this
RMChoiceList . |
java.lang.String |
getName()
Returns a name
String for this RMChoiceList . |
boolean |
hasHierarchy()
Indicates whether or not a choice list has a hierarchical structure or is simply a flat
list of choice items.
|
getAccessAllowed, getClassDescription, getClassName, getClientIdentifier, getContainedBy, getDomainType, getEntityType, getObjectIdentity, getPermissions, getProperties, getRepository, isCreationPending, isPlaceholder, refresh, refresh, refresh
java.util.List<RMChoiceItem> getChoiceListValues()
RMChoiceItem
instances contained
by this choice list.List<RMChoiceItem
>}
instance.DataType getDataType()
DataType.Integer
or
DataType.String
java.lang.String getDescriptiveText()
String
value. This entry can be null
.java.lang.String getDisplayName()
String
value.boolean hasHierarchy()
true
if it is a hierarchical structure, false
otherwise.java.lang.String getId()
RMChoiceList
.String
value.java.lang.String getName()
String
for this RMChoiceList
.getName
in interface BaseEntity
String
value.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.