org.molgenis.omx.converters
Class TupleToTextValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.TupleToTextValueConverter
All Implemented Interfaces:
TupleToValueConverter<TextValue,String>

public class TupleToTextValueConverter
extends Object
implements TupleToValueConverter<TextValue,String>


Constructor Summary
TupleToTextValueConverter()
           
 
Method Summary
 TextValue fromTuple(Tuple tuple, String colName, ObservableFeature feature)
          Converts a tuple column value to a value entity
 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

TupleToTextValueConverter

public TupleToTextValueConverter()
Method Detail

fromTuple

public TextValue 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<TextValue,String>
Throws:
ValueConverterException

toCell

public 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<TextValue,String>
Returns:


Copyright © 2013. All Rights Reserved.