org.molgenis.omx.converters
Class ValueConverter

java.lang.Object
  extended by org.molgenis.omx.converters.ValueConverter

public class ValueConverter
extends Object

Converts tuple column values to value entities


Constructor Summary
ValueConverter(Database database)
           
 
Method Summary
 Value fromTuple(Tuple tuple, String colName, ObservableFeature feature)
           
 Cell<?> toCell(Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueConverter

public ValueConverter(Database database)
Method Detail

fromTuple

public Value fromTuple(Tuple tuple,
                       String colName,
                       ObservableFeature feature)
                throws ValueConverterException
Throws:
ValueConverterException

toCell

public Cell<?> toCell(Value value)
               throws ValueConverterException
Throws:
ValueConverterException


Copyright © 2013. All Rights Reserved.