com.agimatec.dbhistory
Class HistTableConfig

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

public class HistTableConfig
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
HistTableConfig(String tableName)
           
 
Method Summary
 Set<String> getExcludeColumns()
          (Optional) A List of column names to exclude columns from the history table.
 String getHistoryTable()
           
 String getInsertTrigger()
           
 String getTableName()
           
 String getUpdateTrigger()
           
 void setHistoryTable(String historyTable)
          (Optional) The name of the history table for this table.
 void setInsertTrigger(String insertTrigger)
          (Optional) If an empty @value is entered or if the @value attribute is missing, NO INSERT Trigger will be generated.
 void setUpdateTrigger(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(String tableName)
Method Detail

getTableName

public String getTableName()

getHistoryTable

public String getHistoryTable()

setHistoryTable

public void setHistoryTable(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 String getInsertTrigger()

setInsertTrigger

public void setInsertTrigger(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 String getUpdateTrigger()

setUpdateTrigger

public void setUpdateTrigger(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 Set<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-2011. All Rights Reserved.