net.ontopia.topicmaps.db2tm
Class Changelog

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

public class Changelog
extends java.lang.Object

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


Field Summary
protected  java.lang.String condition
           
protected  java.lang.String local_order_column
           
protected  java.lang.String order_column
           
protected  java.lang.String[] pkey
           
protected  Relation relation
           
protected  java.lang.String table
           
protected  java.util.Map<java.lang.String,ExpressionVirtualColumn> virtualColumns
           
 
Method Summary
 void addVirtualColumn(ExpressionVirtualColumn column)
           
 java.lang.String getColumnExpression(java.lang.String colname)
           
 java.lang.String getCondition()
           
 java.lang.String getLocalOrderColumn()
           
 java.lang.String getOrderColumn()
           
 java.lang.String[] getPrimaryKey()
           
 Relation getRelation()
          INTERNAL: Returns the relation to which the changelog belongs.
 java.lang.String getTable()
          INTERNAL: Returns the name of the changelog table.
 boolean isExpressionColumn(java.lang.String colname)
           
 void setCondition(java.lang.String condition)
           
 void setLocalOrderColumn(java.lang.String local_order_column)
           
 void setOrderColumn(java.lang.String order_column)
           
 void setPrimaryKey(java.lang.String[] pkey)
           
 void setTable(java.lang.String table)
           
 java.lang.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 java.lang.String table

pkey

protected java.lang.String[] pkey

order_column

protected java.lang.String order_column

local_order_column

protected java.lang.String local_order_column

condition

protected java.lang.String condition

virtualColumns

protected java.util.Map<java.lang.String,ExpressionVirtualColumn> virtualColumns
Method Detail

getRelation

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


getTable

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


setTable

public void setTable(java.lang.String table)

getPrimaryKey

public java.lang.String[] getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(java.lang.String[] pkey)

getOrderColumn

public java.lang.String getOrderColumn()

setOrderColumn

public void setOrderColumn(java.lang.String order_column)

getLocalOrderColumn

public java.lang.String getLocalOrderColumn()

setLocalOrderColumn

public void setLocalOrderColumn(java.lang.String local_order_column)

setCondition

public void setCondition(java.lang.String condition)

getCondition

public java.lang.String getCondition()

addVirtualColumn

public void addVirtualColumn(ExpressionVirtualColumn column)

isExpressionColumn

public boolean isExpressionColumn(java.lang.String colname)

getColumnExpression

public java.lang.String getColumnExpression(java.lang.String colname)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.