org.molgenis.omx.converters
Class TupleToMrefValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.TupleToMrefValueConverter
All Implemented Interfaces:
TupleToValueConverter<MrefValue,List<Cell<String>>>

public class TupleToMrefValueConverter
extends Object
implements TupleToValueConverter<MrefValue,List<Cell<String>>>


Constructor Summary
TupleToMrefValueConverter(org.molgenis.omx.converters.CharacteristicLoadingCache characteristicLoader)
           
 
Method Summary
 MrefValue fromTuple(Tuple tuple, String colName, ObservableFeature feature)
          Converts a tuple column value to a value entity
 Cell<List<Cell<String>>> toCell(Value value)
          Returns the java type value contained by a value entity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleToMrefValueConverter

public TupleToMrefValueConverter(org.molgenis.omx.converters.CharacteristicLoadingCache characteristicLoader)
Method Detail

fromTuple

public MrefValue fromTuple(Tuple tuple,
                           String colName,
                           ObservableFeature feature)
                    throws ValueConverterException
Description copied from interface: TupleToValueConverter
Converts a tuple column value to a value entity

Specified by:
fromTuple in interface TupleToValueConverter<MrefValue,List<Cell<String>>>
Throws:
ValueConverterException

toCell

public Cell<List<Cell<String>>> toCell(Value value)
Description copied from interface: TupleToValueConverter
Returns the java type value contained by a value entity

Specified by:
toCell in interface TupleToValueConverter<MrefValue,List<Cell<String>>>
Returns:


Copyright © 2013. All Rights Reserved.