Class FunctionVirtualColumn

java.lang.Object
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 Details

    • relation

      protected final Relation relation
    • colname

      protected final String colname
    • fullMethodName

      protected final String fullMethodName
    • method

      protected Method method
    • params

      protected List<ValueIF> params
  • Constructor Details

    • FunctionVirtualColumn

      public FunctionVirtualColumn(Relation relation, String colname, String fullMethodName)
  • Method Details

    • 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)