Class TableMapping
- java.lang.Object
-
- org.forgerock.audit.handlers.jdbc.TableMapping
-
public class TableMapping extends Object
Contains the necessary information to map an event to a database table, and the event fields to the columns in that database table.
-
-
Constructor Summary
Constructors Constructor Description TableMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEvent()Gets the audit event the table mapping is for.Map<String,String>getFieldToColumn()Sets the field to column mapping.StringgetTable()Gets the table name for the mapping.voidsetEvent(String event)Sets the audit event the table mapping is for.voidsetFieldToColumn(Map<String,String> fieldToColumn)Sets the field to column mapping.voidsetTable(String table)Sets the table name for the mapping.
-
-
-
Method Detail
-
getEvent
public String getEvent()
Gets the audit event the table mapping is for.- Returns:
- The audit event the mapping is for.
-
setEvent
public void setEvent(String event)
Sets the audit event the table mapping is for.- Parameters:
event- The audit event the mapping is for.
-
getTable
public String getTable()
Gets the table name for the mapping.- Returns:
- The table name for the mapping.
-
setTable
public void setTable(String table)
Sets the table name for the mapping.- Parameters:
table- The table name for the mapping.
-
getFieldToColumn
public Map<String,String> getFieldToColumn()
Sets the field to column mapping.- Returns:
- The field to column mapping.
-
-