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 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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)
-
-