org.molgenis.omx.converters
Class TupleToDecimalValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.TupleToDecimalValueConverter
All Implemented Interfaces:
TupleToValueConverter<DecimalValue,Double>

public class TupleToDecimalValueConverter
extends Object
implements TupleToValueConverter<DecimalValue,Double>


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

TupleToDecimalValueConverter

public TupleToDecimalValueConverter()
Method Detail

fromTuple

public DecimalValue 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<DecimalValue,Double>
Throws:
ValueConverterException

toCell

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

Specified by:
toCell in interface TupleToValueConverter<DecimalValue,Double>
Returns:


Copyright © 2013. All Rights Reserved.