|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flexive.shared.value.mapper.InputMapper<FxLargeNumber,FxSelectOne>
com.flexive.shared.value.mapper.SelectOneInputMapper
public class SelectOneInputMapper
Maps the given ordinal input type to a select list. The select list must contain at least one element.
| Constructor Summary | |
|---|---|
SelectOneInputMapper(FxSelectList selectList)
Create a new select-one input mapper. |
|
| Method Summary | |
|---|---|
protected FxLargeNumber |
doDecode(FxSelectOne value)
Decode the mapped type. |
protected FxSelectOne |
doEncode(FxLargeNumber value)
Map the given value to the destination FxValue type. |
java.util.List<? extends ValueComparator> |
getAvailableValueComparators()
Returns all available value comparators available in search queries. |
| Methods inherited from class com.flexive.shared.value.mapper.InputMapper |
|---|
buildAutocompleteHandler, decode, encode, getAutocompleteHandler, getInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectOneInputMapper(FxSelectList selectList)
doEncode(com.flexive.shared.value.FxLargeNumber FxLargeNumber) and return
the appropriate FxSelectOne object. If no valid value is selected,
the first select list value will be used.
selectList - the select list. If null or empty, a RuntimeException will be trhown.| Method Detail |
|---|
protected FxSelectOne doEncode(FxLargeNumber value)
doEncode in class InputMapper<FxLargeNumber,FxSelectOne>value - the value to be mapped
protected FxLargeNumber doDecode(FxSelectOne value)
doDecode in class InputMapper<FxLargeNumber,FxSelectOne>value - the mapped value type, possibly modified by the user
public java.util.List<? extends ValueComparator> getAvailableValueComparators()
getAvailableValueComparators in class InputMapper<FxLargeNumber,FxSelectOne>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||