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 Details

    • TableMapping

      public TableMapping()
  • Method Details

    • 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.
    • setFieldToColumn

      public void setFieldToColumn(Map<String,String> fieldToColumn)
      Sets the field to column mapping. The map should be case insensitive.
      Parameters:
      fieldToColumn - The field to column mapping.