Class Change

java.lang.Object
org.assertj.db.type.Change
All Implemented Interfaces:
DbElement, WithColumnLetterCase, WithPrimaryKeyLetterCase, WithTableLetterCase

Change in the database.

Note : you never instantiate directly this class. You will get an object of this class from a Changes with the list by using Changes.getChangesList(), Changes.getChangesOfTable(String) or Changes.getChangesOfType(ChangeType).

Author:
Régis Pouiller.
  • Method Details

    • getColumnLetterCase

      public LetterCase getColumnLetterCase()
      Returns the letter case of the columns.
      Specified by:
      getColumnLetterCase in interface WithColumnLetterCase
      Returns:
      The letter case of the columns.
    • getPrimaryKeyLetterCase

      public LetterCase getPrimaryKeyLetterCase()
      Returns the letter case of the primary keys.
      Specified by:
      getPrimaryKeyLetterCase in interface WithPrimaryKeyLetterCase
      Returns:
      The letter case of the primary keys.
    • getTableLetterCase

      public LetterCase getTableLetterCase()
      Returns the letter case of the tables.
      Specified by:
      getTableLetterCase in interface WithTableLetterCase
      Returns:
      The letter case of the tables.
    • getDataType

      public DataType getDataType()
      Returns the type of the data on which is the change.
      Returns:
      The type of the data on which is the change.
    • getDataName

      public String getDataName()
      Returns the name of the data on which is the change.
      Returns:
      The name of the data on which is the change.
    • getPksNameList

      public List<String> getPksNameList()
      Return the list of the primary keys name.
      Returns:
      The list of the primary keys name.
    • getPksValueList

      public List<Value> getPksValueList()
      Return the list of the primary keys value.
      Returns:
      The list of the primary keys value.
    • getColumnsNameList

      public List<String> getColumnsNameList()
      Returns the list of the column names.
      Returns:
      The list of the column names.
    • getChangeType

      public ChangeType getChangeType()
      Returns the type of the change.
      Returns:
      The type of the change.
    • getRowAtStartPoint

      public Row getRowAtStartPoint()
      Returns the row at start point.
      Returns:
      The row at start point.
    • getRowAtEndPoint

      public Row getRowAtEndPoint()
      Returns the row at end point.
      Returns:
      The row at end point.