com.flexive.shared.value.mapper
Class NumberQueryInputMapper.ReferenceQueryInputMapper

java.lang.Object
  extended by com.flexive.shared.value.mapper.InputMapper<BaseType,FxString>
      extended by com.flexive.shared.value.mapper.NumberQueryInputMapper<ReferencedContent,FxReference>
          extended by com.flexive.shared.value.mapper.NumberQueryInputMapper.ReferenceQueryInputMapper
Enclosing class:
NumberQueryInputMapper<T,BaseType extends FxValue<T,?>>

public static class NumberQueryInputMapper.ReferenceQueryInputMapper
extends NumberQueryInputMapper<ReferencedContent,FxReference>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.flexive.shared.value.mapper.NumberQueryInputMapper
NumberQueryInputMapper.AccountQueryInputMapper, NumberQueryInputMapper.ReferenceQueryInputMapper
 
Constructor Summary
NumberQueryInputMapper.ReferenceQueryInputMapper(FxProperty property)
           
 
Method Summary
protected  FxReference doDecode(FxString value)
          Decode the mapped type.
 java.lang.String encodeId(ReferencedContent rc)
           
static ReferencedContent getReferencedContent(java.lang.String query)
           
 
Methods inherited from class com.flexive.shared.value.mapper.NumberQueryInputMapper
doEncode, getAvailableValueComparators
 
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

NumberQueryInputMapper.ReferenceQueryInputMapper

public NumberQueryInputMapper.ReferenceQueryInputMapper(FxProperty property)
Method Detail

getReferencedContent

public static ReferencedContent getReferencedContent(java.lang.String query)

encodeId

public java.lang.String encodeId(ReferencedContent rc)
Specified by:
encodeId in class NumberQueryInputMapper<ReferencedContent,FxReference>

doDecode

protected FxReference doDecode(FxString value)
Description copied from class: InputMapper
Decode the mapped type. Called after the mapped type has been updated in the user form.

Specified by:
doDecode in class InputMapper<FxReference,FxString>
Parameters:
value - the mapped value type, possibly modified by the user
Returns:
the corresponding base type