org.molgenis.omx.converters
Class TupleToBoolValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.TupleToBoolValueConverter
All Implemented Interfaces:
TupleToValueConverter<BoolValue,Boolean>

public class TupleToBoolValueConverter
extends Object
implements TupleToValueConverter<BoolValue,Boolean>


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

TupleToBoolValueConverter

public TupleToBoolValueConverter()
Method Detail

fromTuple

public BoolValue 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<BoolValue,Boolean>
Throws:
ValueConverterException

toCell

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

Specified by:
toCell in interface TupleToValueConverter<BoolValue,Boolean>
Returns:


Copyright © 2013. All Rights Reserved.