org.molgenis.omx.converters
Class TupleToLongValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.TupleToLongValueConverter
All Implemented Interfaces:
TupleToValueConverter<LongValue,Long>

public class TupleToLongValueConverter
extends Object
implements TupleToValueConverter<LongValue,Long>


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

TupleToLongValueConverter

public TupleToLongValueConverter()
Method Detail

fromTuple

public LongValue 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<LongValue,Long>
Throws:
ValueConverterException

toCell

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

Specified by:
toCell in interface TupleToValueConverter<LongValue,Long>
Returns:


Copyright © 2013. All Rights Reserved.