org.molgenis.omx.converters
Class TupleToIntValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.TupleToIntValueConverter
All Implemented Interfaces:
TupleToValueConverter<IntValue,Integer>

public class TupleToIntValueConverter
extends Object
implements TupleToValueConverter<IntValue,Integer>


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

TupleToIntValueConverter

public TupleToIntValueConverter()
Method Detail

fromTuple

public IntValue 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<IntValue,Integer>
Throws:
ValueConverterException

toCell

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

Specified by:
toCell in interface TupleToValueConverter<IntValue,Integer>
Returns:


Copyright © 2013. All Rights Reserved.