com.agimatec.dbhistory
Class HistTableConfig

java.lang.Object
  extended by com.agimatec.dbhistory.HistTableConfig
All Implemented Interfaces:
java.io.Serializable

public class HistTableConfig
extends java.lang.Object
implements java.io.Serializable

Description:
User: roman.stumm
Date: 27.04.2007
Time: 18:21:29
Copyright: Agimatec GmbH

See Also:
Serialized Form

Constructor Summary
HistTableConfig(java.lang.String tableName)
           
 
Method Summary
 java.util.Set<java.lang.String> getExcludeColumns()
          (Optional) A List of column names to exclude columns from the history table.
 java.lang.String getHistoryTable()
           
 java.lang.String getInsertTrigger()
           
 java.lang.String getTableName()
           
 java.lang.String getUpdateTrigger()
           
 void setHistoryTable(java.lang.String historyTable)
          (Optional) The name of the history table for this table.
 void setInsertTrigger(java.lang.String insertTrigger)
          (Optional) If an empty @value is entered or if the @value attribute is missing, NO INSERT Trigger will be generated.
 void setUpdateTrigger(java.lang.String updateTrigger)
          (Optional) If an empty @value is entered or if the @value attribute is missing, NO UPDATE Trigger will be generated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistTableConfig

public HistTableConfig(java.lang.String tableName)
Method Detail

getTableName

public java.lang.String getTableName()

getHistoryTable

public java.lang.String getHistoryTable()

setHistoryTable

public void setHistoryTable(java.lang.String historyTable)
(Optional) The name of the history table for this table. Default is H_$. If this text-node is missing or if the value is empty, no history table will be generated.

Parameters:
historyTable -

getInsertTrigger

public java.lang.String getInsertTrigger()

setInsertTrigger

public void setInsertTrigger(java.lang.String insertTrigger)
(Optional) If an empty @value is entered or if the @value attribute is missing, NO INSERT Trigger will be generated. If this text-node is missing, a default name will be generated (TR_I_$) The @value attribute specifies an explicit trigger name.

Parameters:
insertTrigger -

getUpdateTrigger

public java.lang.String getUpdateTrigger()

setUpdateTrigger

public void setUpdateTrigger(java.lang.String updateTrigger)
(Optional) If an empty @value is entered or if the @value attribute is missing, NO UPDATE Trigger will be generated. If this text-node is missing, a default name will be generated (TR_H_$) The @value attribute specifies an explicit trigger name.

Parameters:
updateTrigger -

getExcludeColumns

public java.util.Set<java.lang.String> getExcludeColumns()
(Optional) A List of column names to exclude columns from the history table. Default is that all columns are part of the history table (e.g. none excluded). Note 2: You MUST NOT exclude primary key and versioning columns because they are PrimayKey of the HistoryTable.

Returns:


Copyright © 2008-2012. All Rights Reserved.