Package net.ontopia.topicmaps.db2tm
Class Changelog
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected Stringconditionprotected Stringlocal_order_columnprotected Stringorder_columnprotected String[]pkeyprotected Relationrelationprotected Stringtableprotected Map<String,ExpressionVirtualColumn>virtualColumns
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVirtualColumn(ExpressionVirtualColumn column)StringgetColumnExpression(String colname)StringgetCondition()StringgetLocalOrderColumn()StringgetOrderColumn()String[]getPrimaryKey()RelationgetRelation()INTERNAL: Returns the relation to which the changelog belongs.StringgetTable()INTERNAL: Returns the name of the changelog table.booleanisExpressionColumn(String colname)voidsetCondition(String condition)voidsetLocalOrderColumn(String local_order_column)voidsetOrderColumn(String order_column)voidsetPrimaryKey(String[] pkey)voidsetTable(String table)StringtoString()
-
-
-
Field Detail
-
relation
protected final 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)
-
-