net.ontopia.topicmaps.db2tm
Class Changelog

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.Changelog

public class Changelog
extends Object

INTERNAL: Data carrier holding the information about a change log table from the mapping file.


Field Summary
protected  String condition
           
protected  String local_order_column
           
protected  String order_column
           
protected  String[] pkey
           
protected  Relation relation
           
protected  String table
           
protected  Map<String,ExpressionVirtualColumn> virtualColumns
           
 
Method Summary
 void addVirtualColumn(ExpressionVirtualColumn column)
           
 String getColumnExpression(String colname)
           
 String getCondition()
           
 String getLocalOrderColumn()
           
 String getOrderColumn()
           
 String[] getPrimaryKey()
           
 Relation getRelation()
          INTERNAL: Returns the relation to which the changelog belongs.
 String getTable()
          INTERNAL: Returns the name of the changelog table.
 boolean isExpressionColumn(String colname)
           
 void setCondition(String condition)
           
 void setLocalOrderColumn(String local_order_column)
           
 void setOrderColumn(String order_column)
           
 void setPrimaryKey(String[] pkey)
           
 void setTable(String table)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

relation

protected Relation relation

table

protected String table

pkey

protected String[] pkey

order_column

protected String order_column

local_order_column

protected String local_order_column

condition

protected String condition

virtualColumns

protected Map<String,ExpressionVirtualColumn> virtualColumns
Method Detail

getRelation

public Relation getRelation()
INTERNAL: Returns the relation to which the changelog belongs.


getTable

public String getTable()
INTERNAL: Returns the name of the changelog table.


setTable

public void setTable(String table)

getPrimaryKey

public String[] getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(String[] pkey)

getOrderColumn

public String getOrderColumn()

setOrderColumn

public void setOrderColumn(String order_column)

getLocalOrderColumn

public String getLocalOrderColumn()

setLocalOrderColumn

public void setLocalOrderColumn(String local_order_column)

setCondition

public void setCondition(String condition)

getCondition

public String getCondition()

addVirtualColumn

public void addVirtualColumn(ExpressionVirtualColumn column)

isExpressionColumn

public boolean isExpressionColumn(String colname)

getColumnExpression

public String getColumnExpression(String colname)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2012 Ontopia.