net.ontopia.topicmaps.db2tm
Class MappingVirtualColumn
java.lang.Object
net.ontopia.topicmaps.db2tm.MappingVirtualColumn
- All Implemented Interfaces:
- ValueIF
public class MappingVirtualColumn
- extends Object
- implements ValueIF
INTERNAL: Virtual column that used a hash table to map from old
value to new value. A default value can also be specified when no
entry exists.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relation
protected Relation relation
colname
protected String colname
table
protected Map table
defaultValue
protected String defaultValue
defaultSpecified
protected boolean defaultSpecified
isVirtualColumn
protected boolean isVirtualColumn
inputColumn
protected String inputColumn
cix
protected int cix
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
addMapping
public void addMapping(String from_value,
String to_value)
setDefault
public void setDefault(String defaultValue)
Copyright © 2000-2012 Ontopia.