public abstract class StringTextChoiceProvider extends TextChoiceProvider<String>
TextChoiceProvider for Strings.| Constructor and Description |
|---|
StringTextChoiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDisplayText(String choice) |
protected Object |
getId(String choice) |
Collection<String> |
toChoices(Collection<String> ids)
Converts a list of choice ids back into application's choice objects.
|
detach, toJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitqueryprotected String getDisplayText(String choice)
getDisplayText in class TextChoiceProvider<String>protected Object getId(String choice)
getId in class TextChoiceProvider<String>public Collection<String> toChoices(Collection<String> ids)
ChoiceProviderids collection will contain
exactly one id, and a collection containing exactly one choice should be returned.ids - collection containing choice idsCopyright © 2015. All rights reserved.