net.ontopia.topicmaps.db2tm
Class FunctionVirtualColumn

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.FunctionVirtualColumn
All Implemented Interfaces:
ValueIF

public class FunctionVirtualColumn
extends Object
implements ValueIF

INTERNAL: Virtual column that uses a function to map from old value to new value.


Field Summary
protected  String colname
           
protected  String fullMethodName
           
protected  Method method
           
protected  List params
           
protected  Relation relation
           
 
Constructor Summary
FunctionVirtualColumn(Relation relation, String colname, String fullMethodName)
           
 
Method Summary
 void addParameter(String paramValue)
           
 void compile()
           
 String getColumnName()
           
 String getValue(String[] tuple)
          INTERNAL: Returns the value of the virtual column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relation

protected Relation relation

colname

protected String colname

fullMethodName

protected String fullMethodName

method

protected Method method

params

protected List params
Constructor Detail

FunctionVirtualColumn

public FunctionVirtualColumn(Relation relation,
                             String colname,
                             String fullMethodName)
Method Detail

getColumnName

public String getColumnName()

compile

public void compile()

getValue

public String getValue(String[] tuple)
Description copied from interface: ValueIF
INTERNAL: Returns the value of the virtual column.

Specified by:
getValue in interface ValueIF

addParameter

public void addParameter(String paramValue)


Copyright © 2000-2012 Ontopia.