org.molgenis.omx.converters
Class TupleToMrefValueConverter
java.lang.Object
org.molgenis.omx.converters.TupleToMrefValueConverter
- All Implemented Interfaces:
- TupleToValueConverter<MrefValue,List<Cell<String>>>
public class TupleToMrefValueConverter
- extends Object
- implements TupleToValueConverter<MrefValue,List<Cell<String>>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleToMrefValueConverter
public TupleToMrefValueConverter(org.molgenis.omx.converters.CharacteristicLoadingCache characteristicLoader)
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.