net.ontopia.topicmaps.db2tm
Class FunctionVirtualColumn

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

public class FunctionVirtualColumn
extends java.lang.Object
implements ValueIF

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


Field Summary
protected  java.lang.String colname
           
protected  java.lang.String fullMethodName
           
protected  java.lang.reflect.Method method
           
protected  java.util.List params
           
protected  Relation relation
           
 
Constructor Summary
FunctionVirtualColumn(Relation relation, java.lang.String colname, java.lang.String fullMethodName)
           
 
Method Summary
 void addParameter(java.lang.String paramValue)
           
 void compile()
           
 java.lang.String getColumnName()
           
 java.lang.String getValue(java.lang.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 java.lang.String colname

fullMethodName

protected java.lang.String fullMethodName

method

protected java.lang.reflect.Method method

params

protected java.util.List params
Constructor Detail

FunctionVirtualColumn

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

getColumnName

public java.lang.String getColumnName()

compile

public void compile()

getValue

public java.lang.String getValue(java.lang.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(java.lang.String paramValue)


Copyright © 2000-2012 Ontopia.